![]() |
Sleipnir C++ API
|
#include </home/runner/work/Sleipnir/Sleipnir/include/sleipnir/util/print_diagnostics.hpp>
Public Member Functions | |
| template<typename Scalar > | |
| IterateDiagnosticsTable (bool print, Scalar error, Scalar cost, Scalar infeasibility, Scalar complementarity, Scalar μ) | |
| ~IterateDiagnosticsTable () | |
| Prints the table bottom if requested. | |
| IterateDiagnosticsTable (const IterateDiagnosticsTable &)=delete | |
| IterateDiagnosticsTable & | operator= (const IterateDiagnosticsTable &)=delete |
Prints the iterate diagnostics table's heading and initial iterate on construction and the table's bottom on destruction.
Construct this where the iterate diagnostics table should start, so every solver exit after that closes the table and every exit before it doesn't.
|
inline |
Prints the table heading and initial iterate diagnostics if requested.
| Scalar | Scalar type. |
| Whether to print the table. | |
| error | The error. |
| cost | The cost. |
| infeasibility | The infeasibility. |
| complementarity | The complementarity. |
| μ | The barrier parameter. |