GithubHelp home page GithubHelp logo

Comments (1)

jajhall avatar jajhall commented on August 21, 2024

HiGHS (like any practical software) solves problems to within tolerances. For x50=0 and x168=1, the activity of constraint c397 is 1e-08. Although the bound is <=0, the activity satisfies the bound to within the (default) mip_feasibility_tolerance of 1e-06. Hence the solution returned by HiGHS is feasible

If mip_feasibility_tolerance is set to 0.99e-08, then HiGHS yields the solution

  • x50 0
  • x168 0
  • c397 0

The same solution is obtained using mip_feasibility_tolerance=1e-06, if the coefficient of x168, in constraint c397 is changed to 1.01e-06.

Since CBC and GLPK will solve using a similar tolerance, it' probably just chance that they find a solution with x168=0 before the solution with x168=1 obtained by HiGHS.

I note that the optimal objective values of both Gurobi (1.249985942024e+06) and HiGHS (1.249985942207e+06) are equal to within normal tolerances.

from highs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.