Sleipnir Python API
|
Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, ExpressionType cost_function_type=ExpressionType.NONE, ExpressionType equality_constraint_type=ExpressionType.NONE, ExpressionType inequality_constraint_type=ExpressionType.NONE, SolverExitCondition exit_condition=SolverExitCondition.SUCCESS, float cost=0.0) |
ExpressionType | cost_function_type (self) |
None | cost_function_type (self, ExpressionType arg) |
ExpressionType | equality_constraint_type (self) |
None | equality_constraint_type (self, ExpressionType arg) |
ExpressionType | inequality_constraint_type (self) |
None | inequality_constraint_type (self, ExpressionType arg) |
SolverExitCondition | exit_condition (self) |
None | exit_condition (self, SolverExitCondition arg) |
float | cost (self) |
None | cost (self, float arg) |
Return value of OptimizationProblem::Solve() containing the cost function and constraint types and solver's exit condition.
None jormungandr.optimization.SolverStatus.__init__ | ( | self | ) |
None jormungandr.optimization.SolverStatus.__init__ | ( | self, | |
ExpressionType | cost_function_type = ExpressionType.NONE , |
||
ExpressionType | equality_constraint_type = ExpressionType.NONE , |
||
ExpressionType | inequality_constraint_type = ExpressionType.NONE , |
||
SolverExitCondition | exit_condition = SolverExitCondition.SUCCESS , |
||
float | cost = 0.0 |
||
) |
float jormungandr.optimization.SolverStatus.cost | ( | self | ) |
The solution's cost.
None jormungandr.optimization.SolverStatus.cost | ( | self, | |
float | arg | ||
) |
ExpressionType jormungandr.optimization.SolverStatus.cost_function_type | ( | self | ) |
The cost function type detected by the solver.
None jormungandr.optimization.SolverStatus.cost_function_type | ( | self, | |
ExpressionType | arg | ||
) |
ExpressionType jormungandr.optimization.SolverStatus.equality_constraint_type | ( | self | ) |
The equality constraint type detected by the solver.
None jormungandr.optimization.SolverStatus.equality_constraint_type | ( | self, | |
ExpressionType | arg | ||
) |
SolverExitCondition jormungandr.optimization.SolverStatus.exit_condition | ( | self | ) |
The solver's exit condition.
None jormungandr.optimization.SolverStatus.exit_condition | ( | self, | |
SolverExitCondition | arg | ||
) |
ExpressionType jormungandr.optimization.SolverStatus.inequality_constraint_type | ( | self | ) |
The inequality constraint type detected by the solver.
None jormungandr.optimization.SolverStatus.inequality_constraint_type | ( | self, | |
ExpressionType | arg | ||
) |