XiongPengNUS / rsome

Robust Stochastic Optimization Made Easy
GNU General Public License v3.0
282 stars 54 forks source link

How to save solving status of rsome.grb_solver? #41

Closed my-hub30 closed 1 year ago

my-hub30 commented 1 year ago

Hello, thank you for developing this useful tool! May I know how can I save the gurobi-solving status with Rsome? I use:

model.solve(grb, params={'MIPGap': 1e-3, 'TimeLimit': 100000, 'LogToConsole': 1})

 status_code = model.status

but it doesn't work. Thank you!

my-hub30 commented 1 year ago

Hello, thank you for developing this useful tool! May I know how can I save the gurobi-solving status with Rsome? I use:

model.solve(grb, params={'MIPGap': 1e-3, 'TimeLimit': 100000, 'LogToConsole': 1})

 status_code = model.status

but it doesn't work. Thank you!