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

General Constraint vs Linear Constraint

回答済み

コメント

2件のコメント

  • 正式なコメント
    Tobias Achterberg
    • Gurobi Staff

    General Constraints are internally translated into linear and SOS constraints, depending on the General Constraint type. If you use the same linearization yourself, there should be no structural performance difference. But it could be that your linearization is better (because you exploit problem knowledge that Gurobi does not have), or that Gurobi's linearization is better (because it exploits tighter bounds of the variables that have been found during the presolve step).

    Best regards,

    Tobias

     

  • 正式なコメント
    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?.

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