rust-or/good_lp

Accessing variable names after a solution has been created

Opened this issue ยท 0 comments

tomaka commented

Hi ๐Ÿ‘‹

I have noticed that the ProblemVariables struct has a display function that is very convenient in order to print for example the list of constraints.

However, once you call optimise(), minimise(), or maximise(), it doesn't seem possible to access the variable names anymore. Is that correct, or did I just not find a way?

Being able to access the variable names would be very useful for debugging purposes in order to print the solution that has been found for every variable.