gtopt::ProfileLPMode struct

Owner-kind switches of ProfileObjectLP::add_profile_to_lp.

Public variables

bool allow_slack_free
bool clamp_to_element_range

Variable documentation

bool gtopt::ProfileLPMode::allow_slack_free

Drop the slack column when it carries no cost: emit x ≤ A and rebuild the slack at output time (generators).

bool gtopt::ProfileLPMode::clamp_to_element_range

Cap the available amount at the owner column upper bound (pmax) and clip the profile to 1 with a capacity column (generators: spillover can never exceed the generation range).