Expand description
Eight-component iterate — port of
Algorithm/IpIteratesVector.{hpp,cpp}.
Concrete struct with named fields rather than upstream’s
CompoundVector slot-by-index. Same components, same indexing
convention:
| slot | name | meaning |
|---|---|---|
| 0 | x | primal variables |
| 1 | s | inequality slacks |
| 2 | y_c | equality multipliers |
| 3 | y_d | inequality multipliers |
| 4 | z_l | x lower-bound multipliers |
| 5 | z_u | x upper-bound multipliers |
| 6 | v_l | s lower-bound multipliers |
| 7 | v_u | s upper-bound multipliers |
Components are Rc<dyn Vector> to keep upstream’s shared-ownership
semantics (the same x lives in curr, delta, etc., until
someone replaces it via set_*).
Structs§
- Iterates
Vector - Eight-component iterate vector. Cheap to clone via
Rc. - Iterates
Vector Mut - Owned, mutable variant — used as the working-storage form of an
IteratesVector (typical use: a freshly-allocated solution slot the
solver writes into). Convertible into
IteratesVectorviafreeze.