Skip to main content

IpoptSetWarmStartWorkingSet

Function IpoptSetWarmStartWorkingSet 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn IpoptSetWarmStartWorkingSet( ipopt_problem: IpoptProblem, bound_status_in: *const IpoptBoundStatus, cons_status_in: *const IpoptConsStatus, ) -> Bool
Expand description

Supply a warm-start working set consumed by the next IpoptSolve on this problem. Pass NULL for either side to cold-start it. The caller-owned buffers are copied; reuse across calls is safe.

Returns TRUE on success, FALSE on (a) NULL problem, (b) an out-of-range status code in one of the buffers, or (c) both inputs NULL (which would equal a no-op — call IpoptClearWarmStartWorkingSet instead).

§Safety

ipopt_problem must be valid. bound_status_in (when non-NULL) must be sized n; cons_status_in (when non-NULL) must be sized m.