Skip to main content

Can Gurobi not be able to solve a MILP problem if the objective function is formulate differently?

Ongoing

Comments

4 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff 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?.
  • Jaromił Najman
    • Gurobi Staff Gurobi Staff

    Hi Marina,

    Could you share LOG files showing the issue? In best case you could also share the two model instances where you observe the behavior you described. Please have a look at our Posting to the Community Forum article for further information on sharing models.

    Best regards,
    Jaromił

    0
  • Marina Santarelli
    • Gurobi-versary
    • First Comment
    • First Question

    This is my objective function:

    f = [zeros(nv_ev + nv_column,1); f_bill; ; 0.56*20; 0.56*40; 0.56*80; 0.56*120 ];

    where f_bill is  a vector of values between 0.1205 and 0.125.

    If I change f_bill such that my new objective function is:

    f = [zeros(nv_ev + nv_column,1); f_bill*0.5; ; 0.56*20; 0.56*40; 0.56*80; 0.56*120 ];

    Gurobi returns no feasible solution. 

     

    0
  • Jaromił Najman
    • Gurobi Staff Gurobi Staff

    We will continue this issue in an internal ticket.

    0

Post is closed for comments.