mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
fix a bug in the lar_solver::m_status update during push/pop
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
This commit is contained in:
parent
581098299b
commit
2fe846d9fc
19 changed files with 212 additions and 190 deletions
|
@ -84,7 +84,7 @@ void run_solver(lp_params & params, char const * mps_file_name) {
|
|||
solver->find_maximal_solution();
|
||||
|
||||
*(solver->settings().get_message_ostream()) << "status is " << lp_status_to_string(solver->get_status()) << std::endl;
|
||||
if (solver->get_status() == lp::OPTIMAL) {
|
||||
if (solver->get_status() == lp::lp_status::OPTIMAL) {
|
||||
if (params.min()) {
|
||||
solver->flip_costs();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue