-
Notifications
You must be signed in to change notification settings - Fork 525
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
LP simplex bug #1914
Comments
package path: gonum.org/v1/gonum/optimize/convex/lp |
Please include a link to a minimal reproducer here. Preferably this should be a complete runnable example at https://play.golang.org/. |
@kortschak |
`// You can edit this code! import (
) func main() {
} |
The attachment file LP.txt is actually a copy of python code. It uses scipy.optimize.linprog and is able to solve the problem. You may try that. @kortschak |
cc @btracey |
@kortschak Hello, did you get any more information from the reproducer? |
I was triaging. It's unlikely that I will work on this particular bug as it is not in my field of expertise. We will get to it when we can. |
What are you trying to do?
I need to use lp/simplex package to solve an LP problem.
What did you do?
I followed the api given in the document.
What did you expect to happen?
What actually happened?
Then, I got an error showing that the problem is infeasible.
What version of Go and Gonum are you using?
go 1.20
gonum.org/vz1/gonum v0.14.0
Does this issue reproduce with the current master?
Yes, it reproduces stably. The problem can be solved by python package scipy. I will give it in the attachments.
LP.txt
The text was updated successfully, but these errors were encountered: