#[unsafe(no_mangle)]pub unsafe extern "C" fn IpoptCreateSolver(
prob_handle: *mut IpoptProblem,
) -> IpoptSolverExpand description
Build an IpoptSolver session from a configured
IpoptProblem. Consumes the IpoptProblem on success: the
pointer at *prob_handle is set to NULL and ownership transfers
to the returned IpoptSolver. The user should not use the original
handle again, though calling crate::FreeIpoptProblem on the
now-null pointer is harmless (it null-checks).
Returns NULL if prob_handle is NULL, *prob_handle is NULL, or
the IpoptProblem hasn’t been fully initialized.
§Safety
prob_handle must be a valid pointer to an IpoptProblem
previously returned by crate::CreateIpoptProblem (or NULL).