Method for retrieving the decision variables in objective

Share:

Description

Additional arguments to the getDecVar-method pertinent to the defined S4-classes in this package are detailed below.

Usage

1
2
3
4
## S4 method for signature 'CLPS'
getDecVar(object)  
## S4 method for signature 'CDEPS'
getDecVar(object)  

Arguments

object

CLPS or CDEPS: Ordinarily returned by either a call to solveLPD() or solveLPD(), respectively.

Details

Objects of class "CLPD" have an attribute “DecVar”, which contain the names of the decision variables. These are the names of the variables in the objective except for slack variables, that might have been included by the transformation of inequality to equality constraints and/or the recourse function.

Value

vector: Returns the values of the decision variables in the objective.

Author(s)

Bernhard Pfaff

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.