-
Notifications
You must be signed in to change notification settings - Fork 42
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
No feasible solution obtained with Coluna #638
Comments
BlockDecomposition will now warn the user in case of incorrect decomposition -> atoptima/BlockDecomposition.jl#79 |
Hi, the following error occurred when running the code with lasted Coluna and BlockDecomposition. Coluna **** BaB tree root node ┌ Warning: Solver has no result to show. Section ncalls time %tot avg alloc %tot avg |
Hey, I get this error
|
Does it mean that the constraints c3 is infeasible? In fact, the number of right hand side should be a nonnegative constant, which denotes the pickup or delivery time. |
No it just means that the constraint c3 that belongs to a subproblem has master variable which is not possible. So the decomposition is incorrect. This is the error we fixed by replacing |
I solved the your formulation with Gurobi, retrieved the optimal solution, and I decided to fix the value of non-zero x variables in the formulation. @constraint(BVRP, g0[K[1]], x[1,1,7] == 1)
@constraint(BVRP, g1[K[1]], x[1,7,11] == 1)
@constraint(BVRP, g2[K[2]], x[2,1,6] == 1)
@constraint(BVRP, g3[K[2]], x[2,6,8] == 1)
@constraint(BVRP, g4[K[2]], x[2,8,11] == 1)
@constraint(BVRP, g5[K[3]], x[3,1,11] == 1)
@constraint(BVRP, g6[K[4]], x[4,1,11] == 1)
@constraint(BVRP, g7[K[5]], x[5,1,11] == 1) The good news is that Coluna finds the same optimal solution as Gurobi (968.104 with Coluna). <it= 1> <et=13.13> <mst= 2.04> <sp= 2.30> <cols=10> <al= 0.00> <DB=-2256.9378> <mlp=50000.0000> <PB=Inf> The bad news is that the linear relaxation of the master is not good. Two ways of improvement:
|
No feasible solution
I am using the Coluna to solve a mixed integer programming, the code doesn't return a feasible solution during the solution process, and returns an error code: ERROR: LoadError: Unexpected variable state during column insertion.
To Reproduce
Main function: BVRP-Iterative.jl
Input data: RealMap_11_test.mat
Expected behavior
A clear and concise description of what you expected to happen.
If possible, copy the error message with the stacktrace.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: