|
PineForge HPO 0.1.0
Native hyperparameter optimization for PineForge strategies
|
Named scalar feasibility constraint with an absolute non-negative tolerance. More...
#include <pineforge/hpo/objective.hpp>
Public Member Functions | |
| bool | satisfied () const noexcept |
| Returns whether all operands are finite and the relation holds. | |
| double | violation () const noexcept |
| Returns zero when satisfied and the positive violation magnitude otherwise. | |
Public Attributes | |
| std::string | name |
| User-facing constraint identifier. | |
| double | lhs = 0.0 |
| Evaluated left-hand side. | |
| ConstraintRelation | relation = ConstraintRelation::LessEqual |
| Required comparison relation. | |
| double | rhs = 0.0 |
| Configured right-hand side. | |
| double | tolerance = 0.0 |
| Absolute tolerance; negative values are treated as zero. | |
Named scalar feasibility constraint with an absolute non-negative tolerance.
Definition at line 119 of file objective.hpp.
|
noexcept |
Returns whether all operands are finite and the relation holds.
|
noexcept |
Returns zero when satisfied and the positive violation magnitude otherwise.
Non-finite input returns positive infinity so an optimizer cannot treat it as feasible.
| double pineforge::hpo::Constraint::lhs = 0.0 |
Evaluated left-hand side.
Definition at line 123 of file objective.hpp.
| std::string pineforge::hpo::Constraint::name |
User-facing constraint identifier.
Definition at line 121 of file objective.hpp.
| ConstraintRelation pineforge::hpo::Constraint::relation = ConstraintRelation::LessEqual |
Required comparison relation.
Definition at line 125 of file objective.hpp.
| double pineforge::hpo::Constraint::rhs = 0.0 |
Configured right-hand side.
Definition at line 127 of file objective.hpp.
| double pineforge::hpo::Constraint::tolerance = 0.0 |
Absolute tolerance; negative values are treated as zero.
Definition at line 129 of file objective.hpp.