Description Usage Arguments Details Value Author(s) See Also
Validate a solution of an optimization problem.
1 |
op |
The constrained optimization problem defined with function cop. |
sol |
The solution of the optimization problem obtained with function solvecop. |
quiet |
Logical variable indicating whether output to console should be switched off. |
tol |
The tolerance. A constraint is considered fulfilled even if the value exceeds (falls below) the thresshold value by |
Validate a solution of an optimization problem by checking if the constraints are fulfilled.
Values and bounds of the constraints are printed.
A list of class copValidation
with components:
summary |
Data frame containing one row for each constraint with the value of the constraint in column |
info |
Data frame with component |
var |
Data frame with the values of the objective function and constraints at the optimum. |
obj.fun |
Named numeric value with value and name of the objective function at the optimum. |
Robin Wellmann
The main function for solving constrained programming problems is solvecop.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.