Skip to main content

Unbdray does not give me correct answer

Ongoing

Comments

3 comments

  • Official comment
    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.
  • Steven Edwards
    • 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

Post is closed for comments.