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

I need a feasible solution, an optimal solution is just nice-to-have

回答済み

コメント

3件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Mario Ruthmair
    • Gurobi Staff

    Hi Dániel,

    There are several solver parameters that focus on finding feasible solutions while proving optimality is only the secondary goal:

    • MIPFocus=1: search focus on finding good solutions
    • NoRelHeurTime: activation of optional NoRel heuristic to find a first feasible solution
    • Heuristics: time slice for heuristics
    • ZeroObjNodes, MinRelNodes: activation of special heuristics if no feasible solution can be found
    • PartitionPlace: use partition heuristic if your variables have a natural partition structure

    You could also solve a feasibility relaxation if your constraints are so restrictive that finding a solution is extremely difficult.

    Best regards,
    Mario

    1
  • Dániel Varga
    • Gurobi-versary
    • First Comment
    • First Question

    Thanks a lot, Mario! It will take significant time to try out all these suggestions, but I am optimistic that it will lead to results.

    0

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