Closed FabianHofmann closed 5 months ago
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
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