|
EllAlgo 1.6.13
|
Configuration types and constants for the ellipsoid algorithm. More...
#include <cstddef>#include <ostream>#include <utility>Go to the source code of this file.
Classes | |
| struct | Options |
| Configuration options for the ellipsoid algorithm. More... | |
| struct | CutResult |
| Result of a cutting-plane calculation. More... | |
| struct | CInfo |
| Information about the cutting-plane computation result. More... | |
Typedefs | |
| template<typename T > | |
| using | ArrayType = typename T::ArrayType |
| Type alias for the array type used by template parameter T. | |
| template<typename T > | |
| using | CutChoice = typename T::CutChoice |
| Type alias for the cut choice type used by template parameter T. | |
| template<typename T > | |
| using | CutConcept = std::pair< ArrayType< T >, CutChoice< T > > |
| Type alias for a cutting plane concept. | |
| template<typename T > | |
| using | RetQ = std::tuple< CutConcept< T >, bool, ArrayType< T >, bool > |
| Type alias for return type of Q optimization. | |
| using | SingleCut = double |
| Single cut parameter β in gᵀ(x - xc) + β ≤ 0. | |
Enumerations | |
| enum class | CutStatus { Success , NoSoln , NoEffect , Unknown } |
| Status of cutting plane operations. More... | |
Functions | |
| auto | operator<< (std::ostream &os, CutStatus s) -> std::ostream & |
| Stream output operator for CutStatus. | |
Configuration types and constants for the ellipsoid algorithm.
Type alias for the array type used by template parameter T.
| T | The type containing ArrayType |
Type alias for the cut choice type used by template parameter T.
| T | The type containing CutChoice |
Type alias for a cutting plane concept.
| T | The template parameter type |
| using RetQ = std::tuple<CutConcept<T>, bool, ArrayType<T>, bool> |
Type alias for return type of Q optimization.
| T | The template parameter type |
Single cut parameter β in gᵀ(x - xc) + β ≤ 0.
Represents the bias term in a cutting plane constraint.
In Rust this is a newtype: pub struct SingleCut(pub f64); In Python this is a type alias: SingleCut = float In C++ this is a type alias for consistency:
Status of cutting plane operations.
This enumeration represents the possible outcomes of cutting plane operations in the ellipsoid algorithm.
| Enumerator | |
|---|---|
| Success | Cut was successful and ellipsoid was updated. |
| NoSoln | No solution exists (infeasible) |
| NoEffect | Cut had no effect on ellipsoid. |
| Unknown | Unknown status. |
|
inline |
Stream output operator for CutStatus.