-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Labels
Description
It looks like it does, but I couldn't find any evidence these are actually passed to the solver
Xpress.jl/src/MOI/MOI_wrapper.jl
Lines 2866 to 2886 in e325c68
| function MOI.set( | |
| model::Optimizer, | |
| ::MOI.VariablePrimalStart, | |
| x::MOI.VariableIndex, | |
| value::Union{Nothing, Float64} | |
| ) | |
| info = _info(model, x) | |
| info.start = value | |
| return | |
| end | |
| function MOI.get( | |
| model::Optimizer, ::MOI.VariablePrimalStart, x::MOI.VariableIndex | |
| ) | |
| return _info(model, x).start | |
| end | |
| function MOI.supports( | |
| ::Optimizer, ::MOI.VariablePrimalStart, ::Type{MOI.VariableIndex}) | |
| return true | |
| end |
Reported on Discourse: https://discourse.julialang.org/t/warmstarting-variables-does-not-work-with-xpress/60989