We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I read in the LP below with the ReadLP method, I get as result x_1 = 2, x_2 = 0, x_3 = 2, x_4 = 0 which is clearly wrong when looking at the LP.
\* Problem: Unknown *\
Maximize obj: 0 x_1
Subject To r_1: + x_2 + x_1 = 2 r_2: - x_2 = 0 r_3: + x_4 + x_3 = 2 r_4: - x_3 = 0 r_5: + x_3 + x_1 <= 10 r_6: + x_4 + x_2 <= 8
End
When I don't read in the LP but create a Prob datastructure it seems to work.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I read in the LP below with the ReadLP method, I get as result x_1 = 2, x_2 = 0, x_3 = 2, x_4 = 0 which is clearly wrong when looking at the LP.
\* Problem: Unknown *\
Maximize
obj: 0 x_1
Subject To
r_1: + x_2 + x_1 = 2
r_2: - x_2 = 0
r_3: + x_4 + x_3 = 2
r_4: - x_3 = 0
r_5: + x_3 + x_1 <= 10
r_6: + x_4 + x_2 <= 8
End
When I don't read in the LP but create a Prob datastructure it seems to work.
The text was updated successfully, but these errors were encountered: