-
Notifications
You must be signed in to change notification settings - Fork 63
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
Annotating a model for Benders Decomposition #268
Comments
This functionality isn't wrapped. The first step is to wrap these C functions: And then provide MOI attributes (like RawParameter) to get/set them. |
Thank you for your response. Looking in the cpx_solve.jl file, I found that the functionality is in fact implemented already via
You will notice that the variable with index 27 is annotated with 4294967297. However, I am specifying that it should be 1 (i.e. Clong(1)). When I rerun my code, a different variable is randomly annotated to some very large positive or negative number. Any idea what is going on? Is this an a problem with C.jl or IBM? My current workaround thus far has been to use Julia to write the .ann file with the annotations and feed them to to CPLEX via CPXreadcopyannotations. |
I am wondering if it is possible to use CPLEX.jl to annotate models to implement the CPLEX benders decomposition (see https://www.ibm.com/support/knowledgecenter/SSSA5P_12.8.0/ilog.odms.cplex.help/CPLEX/UsrMan/topics/discr_optim/benders/parameterBenders.html).
I have successfully used the MOI.RawParameter as suggested in the README, to set the CPLEX benders strategy to automatic. However, I would like to specify which variables should belong to which subproblem. To do so, I need to annotate the model, but am not sure if CPLEX.jl has these capabilities included (see https://www.ibm.com/support/knowledgecenter/SSSA5P_12.8.0/ilog.odms.cplex.help/CPLEX/UsrMan/topics/discr_optim/benders/annotatedDecomp.html).
Thank you!
The text was updated successfully, but these errors were encountered: