lumix.analysis.scenario.LXScenarioModification¶
- class lumix.analysis.scenario.LXScenarioModification(target_type, target_name, modification_type, value, description='')[source]¶
Represents a single modification to a model parameter.
Examples
Increase capacity by 20%:
LXScenarioModification( target_type="constraint", target_name="capacity", modification_type="rhs_multiply", value=1.2 )
Set minimum production to 100:
LXScenarioModification( target_type="constraint", target_name="min_production", modification_type="rhs_set", value=100.0 )
- Parameters:
- __init__(target_type, target_name, modification_type, value, description='')¶
Methods
__init__(target_type, target_name, ...[, ...])Attributes