mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2025-01-12 22:42:33 +01:00
fix: solve doesn't return warmstart
This commit is contained in:
parent
e0a141dd5d
commit
e56087cf73
@ -198,7 +198,7 @@ function solve(solverlog::String, model::JuMP.Model, varλ::JuMP.Variable, varP,
|
|||||||
|
|
||||||
isdir(dirname(solverlog)) || mkpath(dirname(solverlog))
|
isdir(dirname(solverlog)) || mkpath(dirname(solverlog))
|
||||||
|
|
||||||
status, (λ, P, ws) = open(solverlog, "a+") do logfile
|
status, (λ, P, warmstart) = open(solverlog, "a+") do logfile
|
||||||
Base.Libc.flush_cstdio()
|
Base.Libc.flush_cstdio()
|
||||||
redirect_stdout(logfile) do
|
redirect_stdout(logfile) do
|
||||||
PropertyT.solve(model, varλ, varP, warmstart)
|
PropertyT.solve(model, varλ, varP, warmstart)
|
||||||
|
Loading…
Reference in New Issue
Block a user