Skip to main content

IpoptSolverKktSolve

Function IpoptSolverKktSolve 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn IpoptSolverKktSolve( solver: IpoptSolver, rhs: *const Number, lhs: *mut Number, ) -> Bool
Expand description

Solve K · lhs = rhs against the converged KKT factor. Both rhs and lhs are flat buffers of length IpoptSolverGetKktDim in the x || s || y_c || y_d || z_l || z_u || v_l || v_u packing.

Returns TRUE on success, FALSE if no factor is held or the back-solve fails.

§Safety

rhs and lhs must point to buffers at least IpoptSolverGetKktDim doubles long.