メインコンテンツへスキップ

Fractional solve?

回答済み

コメント

5件のコメント

  • 正式なコメント
    Simranjit Kaur
    • 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?.
  • Jaromił Najman
    • Gurobi Staff

    Hi Aaron,

    If by exact fractional solve, you mean that Gurobi provides a solution consisting of rational number in \(\mathbb{Q}\), then no, this is not possible. Gurobi only works with floating point arithmetic and thus, will always report decimal approximations of true fractional values.

    The open-source solver SCIP implements an exact rational solver implemented by Cook et al., which might catch your interest.

    Best regards,
    Jaromił

    0
  • Aaron Slobodin
    • Gurobi-versary
    • First Comment
    • First Question

    Hi!

    Thanks for providing an answer so quickly. You correctly interpreted my question. I will take a look at SCIP to see if I can get it up in running. In the mean time, do you know if there is a way to improve the precision/find solutions up to a longer decimal expansion?

    Thanks in advance,

    Aaron

    0
  • Jaromił Najman
    • Gurobi Staff

    Hi Aaron,

    You can tighten the tolerance parameters FeasibilityTol and IntFeasTol. Additionally, you can increase the NumericFocus parameter. If you are solving LPs, you can set the Quad parameter to switch to quad precision in simplex computations. Note that all settings may worsen performance.

    Best regards,
    Jaromił

    0
  • Aaron Slobodin
    • Gurobi-versary
    • First Comment
    • First Question

    Awesome! Thanks very much. I was just able to get soplex working now! Nice to have several tools at my disposal!

    0

投稿コメントは受け付けていません。