Skip to main content

Fix a variable and evaluate the Objective function value

Answered

Comments

2 comments

  • Chags
    Gurobi-versary
    First Question
    First Comment

    I usually make this by change the variable bounds

    try:

    w[(7,1)].ub = 2

    w[(7,1)].lb = 2
    0
  • Azi
    Gurobi-versary
    First Comment
    First Question

    Thank you very much. 

     

    Azadeh

     

    0

Please sign in to leave a comment.