Skip to main content

infeasible model has objective function value

Awaiting user input

Comments

2 comments

  • Iason Liagkas
    Detective
    Gurobi-versary
    Thought Leader

    one thing that I suspect is that my model is within a function that I call in the below code:

    subproblem = SP_define(K,number_of_nodes,nodes,links,arcs,arcs_numeric,capacities,
                      capacity,free_flow_time,tau_0,rs,drs,xirsk,paths,I,T,C,F,
                      Sc,Riinit,drsaki,b0,b1,b2,b3,b4,li,hi,fi,crsi,min_path_time,
                      avg_speed,carParking,carPrice,carMilage,fuel_efficiency,fuel_price,
                      min_path_distance,temp,evBuyingPrice,evMilage,electricityPrice,evConsumption,
                      train_speed,train_travel__time,rsT_index,mu,P,Cc,Cin,Phi,BigM,path_time,
                      Y,Gammarsk,xa_max,lxa_max,ta_max,Tirsk_max,ypnum,mpnum,Pi2,theta,Rirsnum,lRirsnum)  

    When I have a model that I run that is not embedded in a function then when the model is infeasible I won't get a function value. Is this the case or am I missing something? 

    Kind regards 
    Iason

    0
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Iason,

    Could you please post the log output of the infeasible run?

    Best regards, 
    Jaromił

    0

Please sign in to leave a comment.