-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion `lp.isScaled()' failed when triying to solve different LP with the same solver instance #17
Comments
Hi @aabbas-brook, thanks for reporting this issue, we will look into it |
Hi ! On my program, LP systems are automatically generated in a loop and I use the same solver, that I reset each time, to resolve these LPs systems using:
To check if the problem come from here, I created a test and tried to solve exposed system above, setting manually the parameters. It seems to work. My apologies, problem seems to not come from the solver, but by the way I reset the parameters. I am going to dig this now. |
Hi, As expected, problem come from the fact of reusing the same solver for solving different problems. Here is a snippet which illustrates this fact. In the code below:
Is there something that I misunderstood or doing wrong ? --
|
Hi !
First of all, thank you for the work you have done here with SoPlex
I am using SoPlex in a project. It worked on thousands problems quiet well, but when I try to solve the system bellow, programm crashes.
Minimize
obj: 1.0000000000000000e+00 x5
Subject To
C0 : 1.9662500000000001e+01 x0 + 1.8271399999999999e-01 x1 + 2.3599500000000001e-01 x2 = 0.0000000000000000e+00
C1 : 5.0552100000000000e-01 x0 + 4.2908400000000002e-01 x1 - 2.0153399999999999e-01 x2 + 8.0298099999999994e-01 x3 + 5.8319600000000005e-01 x4
- 3.4320400000000001e-01 x5 = 2.9622700000000002e-01
Bounds
-1.0000000000000000e+00 <= x0 <= 1.0000000000000000e+00
-1.0000000000000000e+00 <= x1 <= 1.0000000000000000e+00
-1.0000000000000000e+00 <= x2 <= 1.0000000000000000e+00
-1.0000000000000000e+00 <= x3 <= 1.0000000000000000e+00
-1.0000000000000000e+00 <= x4 <= 1.0000000000000000e+00
-1.0000000000000000e+00 <= x5 <= 1.0000000000000000e+00
End
Here is the log :
Am I doing something wrong ?
The text was updated successfully, but these errors were encountered: