Skip to main content

IpoptSolveWarmStart

Function IpoptSolveWarmStart 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn IpoptSolveWarmStart( ipopt_problem: IpoptProblem, x: *mut Number, g: *mut Number, obj_val: *mut Number, mult_g: *mut Number, mult_x_L: *mut Number, mult_x_U: *mut Number, bound_status_in: *const IpoptBoundStatus, cons_status_in: *const IpoptConsStatus, bound_status_out: *mut IpoptBoundStatus, cons_status_out: *mut IpoptConsStatus, user_data: *mut c_void, ) -> Index
Expand description

Convenience one-shot: equivalent to IpoptSetWarmStartWorkingSet + IpoptSolve + IpoptGetWorkingSet in sequence. The input/output working-set buffers are independent (so a caller can read back the new working set into the same array used as input). Pass NULL for any in/out buffer to skip that side.

Returns the ApplicationReturnStatus integer, identical to IpoptSolve.

ยงSafety

All pointer arguments follow the same contract as IpoptSolve plus the working-set buffer sizes documented on IpoptSetWarmStartWorkingSet / IpoptGetWorkingSet.