infeasible model has objective function value
Awaiting user inputI am solving a model sequentially and it is feasible in the first iteration. In the second iteration the model becomes infeasible but I get an objective function value when I run subproblem.objVal. The objective function value I get is not the one there was from the first iteration. [value 1st iter=274055.48, value of second iter=2863.66]. Why do I get a function value in the second iteration? is there anything wrong?
Kind regards
Iason
-
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
Iason0 -
Hi Iason,
Could you please post the log output of the infeasible run?
Best regards,
Jaromił0
Please sign in to leave a comment.
Comments
2 comments