Skip to main content

pounce_algorithm/
ipopt_nlp.rs

1//! NLP traits used by the algorithm — port of `IpNLP.hpp` and
2//! `IpIpoptNLP.hpp`.
3//!
4//! The traits themselves live in `pounce_nlp::ipopt_nlp` (alongside
5//! `OrigIpoptNlp`, which composes `TNLPAdapter` + `NLPScalingObject`).
6//! They are re-exported from this module so existing imports of the
7//! form `crate::ipopt_nlp::IpoptNlp` / `pounce_algorithm::ipopt_nlp::Nlp`
8//! continue to compile. The relocation avoids a `pounce-algorithm` ←→
9//! `pounce-nlp` cycle that would otherwise arise once the concrete
10//! `OrigIpoptNlp` (which depends on `TNLPAdapter`) wants to implement
11//! the algorithm-side trait.
12
13pub use pounce_nlp::ipopt_nlp::{IpoptNlp, Nlp};