scipopt / soplex

Sequential object-oriented simPlex
Other
59 stars 18 forks source link

Option -x without filename does not print to terminal #29

Closed hartmut-h closed 6 months ago

hartmut-h commented 7 months ago

The usage output on error for option -x tells: "(or just -x to print to terminal)", but this does not work, the "=\<solfile>" is needed. A simple "-x" has worked some time ago. With the attached fix, -x, -y, -X, and -Y may come again with or without \<solfile> parameter. x-parm-fix.diff.gz

leoneifler commented 7 months ago

Hi, thanks for submitting this issue. I actually fixed that bug a few days ago, it just has not made its way onto the public GitHub. I will make sure that is does today.

hartmut-h commented 7 months ago

Hi Leon,

On Fri, 19 Jan 2024, Leon Eifler wrote:

Closed #29 as completed.

now "soplex -x so.lp" works fine, but "soplex -x=a so.lp" gives "invalid option "-x=a". My fix tried so solve this, with slightly different logic.

Best Regards, Hartmut

leoneifler commented 7 months ago

thanks, I will take a look and ping you once it is merged.

leoneifler commented 6 months ago

Sorry for the long time to message back, the fix was merged a while ago, already. Closing this now, unless something is still not ok