linopy icon indicating copy to clipboard operation
linopy copied to clipboard

MPS IO changes with highspy >= 1.7

Open FabianHofmann opened this issue 1 year ago • 0 comments

As pointed out in #264, the new highspy package does not switch coefficient signs when exporting a MPS file of a maximizing problem. A warning should be added when people use maximization with MPS IO or the code should be checking the highspy version at https://github.com/PyPSA/linopy/blob/ecbc96266e3195b756fa528ff2faa4afe9243743/linopy/solvers.py#L124

FabianHofmann avatar Apr 04 '24 15:04 FabianHofmann