-
Notifications
You must be signed in to change notification settings - Fork 22
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
Juniper (Julia/JuMP) has the difficulty in convergence during MIP FP iterations #253
Comments
Hi, thanks for opening the issue. A few questions:
|
Hi @Wikunia Thanks for your prompt reply.
Guanghui |
Seems like it's hard to find a feasible solution though so the feasibility pump would be nice if it works to have a starting solution. It seems a bit strange on first sight that the best bound stays constant though I haven't looked at your model. |
|
@odow Hi Oscar: Your line of code works. Please see the attached json file. model.mof.json.txt @Wikunia Hi Ole: I tried to disable feasibility pump with GLPK as the mip solver.
and also tried to increase feasibility pump time from default 60 seconds to 120 seconds.
Both didn't solve the problem. HiGHS as mip solvers works for this feasibility problem. But if I add the linear or nonlinear objective function back, it fails. I reduced to smaller size problems, Juniper didn't show this type of issues. |
I am using Juniper in Julia/JuMP to solve a feasibility problem, whose constraints are linear. The FP iterations seem to be going on forever, having the difficulty in convergence. I am looking for help for a way to get the best feasible solution out of it.
My setting is below.
using Juniper
optimizer = Juniper.Optimizer
nl_solver= optimizer_with_attributes(Ipopt.Optimizer,"print_level" => 0)
mip_solver = optimizer_with_attributes(GLPK.Optimizer)
model = Model(optimizer_with_attributes(
optimizer, "nl_solver"=>nl_solver,
"mip_solver"=>mip_solver))
set_optimizer_attribute(model, "mip_gap", 0.0001)
set_time_limit_sec(model, 200)
set_optimizer_attribute(model, "branch_strategy", :StrongPseudoCost)
set_optimizer_attribute(model, "traverse_strategy", :DFS)
optimize!(model)
The .nl file is here
Juniper_problem1.nl.txt
The .lp file is here
Juniper_model1.lp.txt
The text was updated successfully, but these errors were encountered: