Skip to main content

Does Gurobi support mathematical integers or is it limited to machine precision for Integer programs?

Answered

Comments

2 comments

  • Official comment
    Greg Glockner
    Gurobi Staff Gurobi Staff

    Gurobi uses standard mixed-integer programming (MIP) techniques: it solves MIP models via a series of continuous (linear programming) relaxations. All variables are therefore continuous (double) values; a value is considered an integer if it is within IntFeasTol of an integer value.

    Additionally, a large coefficient like 2251799813685248 will cause numerical problems for the underlying LP relaxation.

    (I moved this to the modeling topic).

  • Official comment
    Simranjit Kaur
    Gurobi Staff Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.

Post is closed for comments.