Description Objects from the Class Slots Methods Author(s) See Also Examples
Class for the solution of a linear program
Objects can be created by calls of the form new("CLPS", ...)
, or
more conveniently by the method solveLPD()
.
LP
:"CLPD"
: The definition of the LP.
opt
:"numeric"
: The value of the objective function.
par
:"vector"
: The optimal parameters.
status
:"integer"
: The status of the solver. A
zero indicates convergence and a non-zero value non-convergence.
Retrieving coefficient matrix.
Retrieving the specified variable bounds.
Retrieving the decision variables in the objective.
Retrieving the relational operators in the constraints.
Retrieving the direction of optimization as a logical value.
Retrieving coefficients of objective.
Retrieving the optimal value of the objective.
Retrieving the optimal parameters of the objective.
Retrieving the solver's status indicator.
Bernhard Pfaff
1 | showClass("CLPS")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.