HiGHS icon indicating copy to clipboard operation
HiGHS copied to clipboard

several improvements and fixes for MIP

Open lgottwald opened this issue 3 years ago • 2 comments

lgottwald avatar Aug 08 '22 20:08 lgottwald

I don't know what happens with the one failed test. There is an assertion failure in solveLp after running IPX only on mac os x:

 } else if (options.solver == kIpmString) {
    // Use IPM
    bool imprecise_solution;
    // Use IPX to solve the LP
    try {
      call_status = solveLpIpx(solver_object);
    } catch (const std::exception& exception) {
      highsLogDev(options.log_options, HighsLogType::kError,
                  "Exception %s in solveLpIpx\n", exception.what());
      call_status = HighsStatus::kError;
    }
    // Non-error return requires a primal solution
    assert(solver_object.solution_.value_valid);

The assert on the last line fails. All other tests in the branch pass. Also I added the HighsRaceTimer class. It gets one template argument so you can decide what type for the underlying deterministic clock value you want to use.

lgottwald avatar Aug 11 '22 07:08 lgottwald

I don't know what happens with the one failed test. There is an assertion failure in solveLp after running IPX only on mac os x:

Very odd. I'll see if @galabovaa can reproduce this on her Mac

jajhall avatar Aug 11 '22 07:08 jajhall