Skip to main content

Infeasible scheduling problem

Ongoing

Comments

1 comment

  • Ronald van der Velden
    Gurobi Staff Gurobi Staff

    Consider replacing your constraints by:

    prob += sum_lines <= share_line[list(order_ids)[i],list(order_ids)[j]] + 1

    This will enforce that share_line becomes 1 when both orders in the (i,j) pair are scheduled on the same line.

    0

Please sign in to leave a comment.