-
Notifications
You must be signed in to change notification settings - Fork 87
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
Improves infeasibility ray check of lineartest8 #127
Conversation
Actually I cant approve :( Xpress does not return rays for variable bounds. |
Are you sure? That seems strange. |
Yep, pretty sure. At least for Xpress up to 8.0 version (the last is 8.3). They have a |
Can't you determine the value of the ray for the variable bounds using the model and the value of the ray for the constraints ? |
How? |
In the test of this PR for example, the problem is
so the dual is
when you look for a ray, it becomes
The value of the variable bounds are the slack of the first and second constraint of the dual hence the checks |
Oh, I see, you mean having the interface to compute these |
@joaquimg Is Xpress ready to pass the test with the changes of this PR now ? |
Nope. It does not returns an infeasibility certificate with the bounds. I also think Gurobi and CPLEX won’t do it. |
Ok to close now given #159? |
I still think this test should be finished. |
That is interesting, I am pretty sure I do not set Gurobi's |
What do you return as dual of the variable bounds ? |
I should be writing |
Replaced by JuliaOpt/MathOptInterfaceTests.jl#34 |
The dual of the constraint does not have to be
-1
, it can be scaled by any positive constant since it is a ray.