Skip to content

Commit

Permalink
Update solveipform.jl (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
YP-Ye authored Mar 20, 2020
1 parent 6f5258a commit e244d33
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Algorithm/solveipform.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,10 @@ end

function optimize_ip_form!(algo::SolveIpForm, optimizer::UserOptimizer, form::Formulation)
return optimize!(form)
end
end

function run!(alg::SolveIpForm, reform::Reformulation, input::NewOptimizationInput)
master = getmaster(reform)
ipforminput = SolveIpFormInput(ObjValues(master))
return run!(alg, master, ipforminput)
end

0 comments on commit e244d33

Please sign in to comment.