Skip to main content

AlgorithmStrategy

Trait AlgorithmStrategy 

Source
pub trait AlgorithmStrategy {
    // Required method
    fn initialize(
        &mut self,
        jnlst: &Rc<Journalist>,
        options: &OptionsList,
        prefix: &str,
    ) -> Result<(), SolverException>;
}
Expand description

Ports Ipopt::AlgorithmStrategyObject. The _jnlst etc. arguments match the upstream signature; concrete strategies pull what they need from the four shared handles.

Required Methods§

Source

fn initialize( &mut self, jnlst: &Rc<Journalist>, options: &OptionsList, prefix: &str, ) -> Result<(), SolverException>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§