Class PeakBudgetInfeasible¶
Defined in File batch_policy.hpp
Inheritance Relationships¶
Base Type¶
public sequant::Exception(Class Exception)
Class Documentation¶
-
class PeakBudgetInfeasible : public sequant::Exception¶
Thrown by the optimizer when a term has no schedule whose modeled peak fits BatchPolicy::peak_threshold and BatchPolicy::infeasible_is_error is set. For one term:
min_peak_bytesis that term’s smallest modeled peak. For a sum: the largest of its terms’ smallest peaks, i.e. the smallest budget every term fits, with the terms listed in what().Public Functions
-
inline PeakBudgetInfeasible(std::string const &msg, double budget_bytes, double min_peak_bytes)¶
-
inline PeakBudgetInfeasible(std::string const &msg, double budget_bytes, double min_peak_bytes)¶