#[unsafe(no_mangle)]pub unsafe extern "C" fn SetIpoptProblemScaling(
ipopt_problem: IpoptProblem,
obj_scaling: Number,
x_scaling: *const Number,
g_scaling: *const Number,
) -> BoolExpand description
Port of IpStdCInterface.cpp:SetIpoptProblemScaling. Stores
user-provided NLP scaling on the problem; the scaling is forwarded
to the solver via TNLP::get_scaling_parameters when the option
nlp_scaling_method=user-scaling is set. Passing NULL for
x_scaling / g_scaling disables scaling on that axis.
Always returns TRUE.
ยงSafety
ipopt_problem must be a valid IpoptProblem. When non-NULL,
x_scaling must point to n doubles and g_scaling to m
doubles; both arrays are copied internally.