JUMP - store solution

Hello,

I was wondering if there was a way to store the solution of an optimization problem solved using JUMP.

Thank you in advance,
KR

Please be more precise what you mean by “store the solution”. You can obtain the objective value by

my_obj_val = objective_value( model )

or the variable values by, e.g.,

my_x_val = value.( model[:x] ) 

Just write the values into a text-file or whatever.

2 Likes