Skip to main content

Dual variables are not updated in column generation with Farkas cost

Answered

Comments

3 comments

  • Official comment
    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?.
  • Eli Towle
    • Gurobi Staff

    I suspect this is due to the upper bounds on the \( p \) variables. Because these variables have finite upper bounds of \( 1 \), their reduced costs can be negative, which your algorithm may not expect. There's a nice post discussing this here.

    Because the \( p \) variables are nonnegative, the convexity constraint \( \sum_{i = 1}^n  p_i = 1 \) implies that each \( p \) variable is no greater than \( 1 \). So, I suspect you can resolve this issue by removing the upper bounds on the \( p \) variables.

    0
  • Johannes Schmalz
    • Gurobi-versary
    • First Question
    • First Comment

    Thanks! The post you linked explains the problem, and your solution indeed seems to work.

    0

Post is closed for comments.