Decision-class {prioritizr} | R Documentation |
Decision class
Description
This class is used to represent the decision variables used in optimization. Only experts should use the fields and methods for this class directly.
Super class
prioritizr::ConservationModifier
-> Decision
Methods
Public methods
Inherited methods
prioritizr::ConservationModifier$calculate()
prioritizr::ConservationModifier$get_data()
prioritizr::ConservationModifier$get_internal()
prioritizr::ConservationModifier$print()
prioritizr::ConservationModifier$repr()
prioritizr::ConservationModifier$set_data()
prioritizr::ConservationModifier$set_internal()
prioritizr::ConservationModifier$show()
Method apply()
Update an optimization problem formulation.
Usage
Decision$apply(x)
Arguments
x
optimization_problem()
object.
Returns
Invisible TRUE
.
Method clone()
The objects of this class are cloneable with this method.
Usage
Decision$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
See Also
Other classes:
ConservationModifier-class
,
ConservationProblem-class
,
Constraint-class
,
Objective-class
,
OptimizationProblem-class
,
Penalty-class
,
Portfolio-class
,
Solver-class
,
Target-class
[Package prioritizr version 8.0.4 Index]