Skip to main content

IpoptFreeSolver

Function IpoptFreeSolver 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn IpoptFreeSolver(solver: IpoptSolver)
Expand description

Release an IpoptSolver and all owned resources, including the IpoptProblem state that was consumed by IpoptCreateSolver.

§Safety

solver must be a pointer returned by IpoptCreateSolver and not yet freed, or NULL.