Skip to main content

Unbdray does not give me correct answer

Ongoing

Comments

2 comments

  • Steven Edwards
    • Gurobi Staff Gurobi Staff

    Hi Zahra. What exactly is the error that is raised when you try and add the feasibility cut?

    0
  • Zahra Hoobakht
    • Gurobi-versary
    • First Question
    • First Comment

    Hi Steven,

    the error is Unable to retrieve attribute 'ObjVal' of Master problem and when I see the .lp result it because the feasibility cut I added is not feasible itself. (Z is a positive value)

    feas1: 2.704 z(8,0,0) + 2.704 z(8,0,1) + 2.704 z(8,0,2) + 2.704 z(8,0,3)
       + 3.364 z(8,2,4) <= -10 

    0

Please sign in to leave a comment.