commonpower.modeling.mip_builder
Functionality for creating MIP expressions and robust constraints.
Classes
The expression builder allows to convert logical expression into mixed integer constraints. In the process it also creates all necessary auxiliary variables. The structure of of interface is as follows: - Create expression builder instance. - Generate expressions. Constraints and an output variable are created (or an existing output variable referenced) for each expression. The corresponding ModelElements are internally stored in self.model_elements. - Obtain all generated ModelElements from self.model_elements. |