Skip to main content

AddIpoptStrOption

Function AddIpoptStrOption 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn AddIpoptStrOption( ipopt_problem: IpoptProblem, keyword: *const c_char, val: *const c_char, ) -> Bool
Expand description

Port of IpStdCInterface.cpp:AddIpoptStrOption.

§Safety

ipopt_problem must be a valid IpoptProblem. keyword and val must be valid NUL-terminated strings.