
Conservation problem modifier class
Source:R/ConservationModifier-class.R
ConservationModifier-class.RdThis super-class is used to construct Objective
Penalty, Target, Constraint,
Portfolio, Solver, and Decision objects.
Only experts should use the fields and methods for this class directly.
Public fields
namecharactervalue.datalistcontaining data.internallistcontaining internal computed values.compressed_formulationlogicalvalue indicating if the object is compatible with a compressed formulation.
Methods
Method repr()
Generate a character representation of the object.
Method calculate()
Perform computations that need to be completed before applying the object.
Arguments
xoptimization_problem()object.yproblem()object.
Method get_data()
Get values stored in the data field.
Returns
An object. If the data field does not contain an object
associated with the argument to x, then a new_waiver() object is
returned.
Method set_data()
Set values stored in the data field. Note that this method will
overwrite existing data.
Method get_internal()
Get values stored in the internal field.
Returns
An object. If the internal field does not contain an object
associated with the argument to x, then a new_waiver() object is
returned.
Method set_internal()
Set values stored in the internal field. Note that this method will
overwrite existing data.
Returns
An object. If the internal field does not contain an object
associated with the argument to x, then a new_waiver() object is
returned.