Class PeakBudgetInfeasible

Inheritance Relationships

Base Type

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_bytes is 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)

Public Members

double budget_bytes
double min_peak_bytes