Skip to contents

This class is used to represent the objective function used in optimization. Only experts should use the fields and methods for this class directly.

Super class

prioritizr::ConservationModifier -> Objective

Methods

Inherited methods


Method default_weights()

Specify default values for weights.

Usage

Objective$default_weights(x)

Arguments

x

problem() object.

Returns

Invisible TRUE.


Method apply()

Update an optimization problem formulation.

Usage

Objective$apply(x)

Arguments

Returns

Invisible TRUE.


Method clone()

The objects of this class are cloneable with this method.

Usage

Objective$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.