CLPS-class: Class '"CLPS"'

Description Objects from the Class Slots Methods Author(s) See Also Examples

Description

Class for the solution of a linear program

Objects from the Class

Objects can be created by calls of the form new("CLPS", ...), or more conveniently by the method solveLPD().

Slots

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.

Methods

getA

Retrieving coefficient matrix.

getBounds

Retrieving the specified variable bounds.

getDecVar

Retrieving the decision variables in the objective.

getDir

Retrieving the relational operators in the constraints.

getMax

Retrieving the direction of optimization as a logical value.

getObj

Retrieving coefficients of objective.

getOpt

Retrieving the optimal value of the objective.

getPar

Retrieving the optimal parameters of the objective.

getStatus

Retrieving the solver's status indicator.

Author(s)

Bernhard Pfaff

See Also

solveLPD

Examples

1
showClass("CLPS")

TSSP documentation built on May 2, 2019, 4:56 p.m.

Related to CLPS-class in TSSP...