Variable name in LP file

57 views
Skip to first unread message

Xianbang Chen

unread,
Nov 4, 2020, 2:01:46 AM11/4/20
to YALMIP
Dear Dr. Johan,

Hello, I model a MILP problem with code like 
------------------------------------------------------------------------
Decision_State_onoff    = binvar(Number_gen,Number_horizon);

CC_General_01 = [CC_General_01, Decision_RES_spilling >= 0];

Decision_Generation          = sdpvar(Number_gen,Number_horizon,'full');

.......

------------------------------------------------------------------------

I want to export the LP file of the MILP model so that I can check whether it is right.

So, could I customize the variable name of the LP file?

I am using matlab, Yalmip, and gurobi.


Could you please give a hand or advices?


Thanks,

Xianbang

Johan Löfberg

unread,
Nov 5, 2020, 4:57:55 AM11/5/20
to YALMIP
No idea, never use any lpfile export

Xianbang Chen

unread,
Nov 5, 2020, 5:05:47 AM11/5/20
to YALMIP
Thanks a lot!
Reply all
Reply to author
Forward
0 new messages