pounce-algorithm 0.2.0

Algorithm-side core for POUNCE (port of Ipopt's src/Algorithm/): IteratesVector, IpoptData, CalculatedQuantities, KKT solvers, line search, mu update, conv check, initializer, IpoptAlg main loop, AlgBuilder.
Documentation
1
2
3
4
5
6
7
8
9
10
//! `MuOracle` trait — port of `IpMuOracle.hpp`.

use pounce_common::types::Number;

pub trait MuOracle {
    /// Probe the next mu given the current iterate state. Phase 10
    /// fills in the actual signatures; trait surface here keeps the
    /// option matrix matchable in `AlgBuilder`.
    fn calculate_mu(&mut self) -> Option<Number>;
}