Skip to main content

Module iterates_vector

Module iterates_vector 

Source
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:

slotnamemeaning
0xprimal variables
1sinequality slacks
2y_cequality multipliers
3y_dinequality multipliers
4z_lx lower-bound multipliers
5z_ux upper-bound multipliers
6v_ls lower-bound multipliers
7v_us 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§

IteratesVector
Eight-component iterate vector. Cheap to clone via Rc.
IteratesVectorMut
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 IteratesVector via freeze.