add_optimization_constraint
Public method `telion_api.SystemSolver.add_optimization_constraint(label: 'str | None' = None, expression: 'str' = 'topo.volumeFraction', relation: 'str' = '<=', bound: 'Any' = '0.5', operator: 'str' = 'Global', selection: 'str' = 'all', scale: 'Any' = '1', enabled: 'bool' = True, smooth: 'bool' = False, exponent: 'Any' = '20', lower_bound: 'Any | None' = None, upper_bound: 'Any | None' = None) -> "'Study'"`.
Reference contract
| Field | Value | Description |
|---|---|---|
| symbol | telion_api.SystemSolver.add_optimization_constraint | — |
| signature | (label: 'str | None' = None, expression: 'str' = 'topo.volumeFraction', relation: 'str' = '<=', bound: 'Any' = '0.5', operator: 'str' = 'Global', selection: 'str' = 'all', scale: 'Any' = '1', enabled: 'bool' = True, smooth: 'bool' = False, exponent: 'Any' = '20', lower_bound: 'Any | None' = None, upper_bound: 'Any | None' = None) -> "'Study'" | — |
| return | 'Study' | — |
Public method telion_api.SystemSolver.add_optimization_constraint(label: 'str | None' = None, expression: 'str' = 'topo.volumeFraction', relation: 'str' = '<=', bound: 'Any' = '0.5', operator: 'str' = 'Global', selection: 'str' = 'all', scale: 'Any' = '1', enabled: 'bool' = True, smooth: 'bool' = False, exponent: 'Any' = '20', lower_bound: 'Any | None' = None, upper_bound: 'Any | None' = None) -> "'Study'".
Contract
| Property | Value |
|---|---|
| symbol | telion_api.SystemSolver.add_optimization_constraint |
| signature | (label: 'str | None' = None, expression: 'str' = 'topo.volumeFraction', relation: 'str' = '<=', bound: 'Any' = '0.5', operator: 'str' = 'Global', selection: 'str' = 'all', scale: 'Any' = '1', enabled: 'bool' = True, smooth: 'bool' = False, exponent: 'Any' = '20', lower_bound: 'Any | None' = None, upper_bound: 'Any | None' = None) -> "'Study'" |
| return | 'Study' |
Signature
telion_api.SystemSolver.add_optimization_constraint(label: 'str | None' = None, expression: 'str' = 'topo.volumeFraction', relation: 'str' = '<=', bound: 'Any' = '0.5', operator: 'str' = 'Global', selection: 'str' = 'all', scale: 'Any' = '1', enabled: 'bool' = True, smooth: 'bool' = False, exponent: 'Any' = '20', lower_bound: 'Any | None' = None, upper_bound: 'Any | None' = None) -> "'Study'"