メインコンテンツへスキップ

infeasible model has objective function value

ユーザーの入力を待っています。

コメント

3件のコメント

  • 正式なコメント
    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.
  • Iason Liagkas
    • Gurobi-versary
    • Detective
    • 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

    Hi Iason,

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

    Best regards, 
    Jaromił

    0

投稿コメントは受け付けていません。