XiongPengNUS / rsome

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

Debugging unsolved optimizations #22

Closed anupamsobti closed 2 years ago

anupamsobti commented 2 years ago

Hi

Thanks for this repository! You're doing a great job. Could you help me figure out how to access functions related to unsolved constraints?

This Gurobi example shows an IIS that can be run to figure out conflicting constraints, although I'm not able to find this object within the rsome wrapper.

XiongPengNUS commented 2 years ago

Hi Thank you for your interest in RSOME. I think checking the unsolved/conflicting constraints is at the solution stage, so RSOME as a pure modeling toolbox, does not provide such functions.

However, there might be an indirect way to check the unsolved constraints built by RSOME. Please check our website https://xiongpengnus.github.io/rsome/get_start#section1.3: we provide a to_lp() method, which exports an ".lp" file. You could use Gurobi to read the lp file and analyze the unsolved constraints.

anupamsobti commented 2 years ago

Thank you! I will try that.