objective: Objective - Accessor and Mutator Functions

Description Usage Arguments Value Author(s) Examples

View source: R/objective.R

Description

The objective of a given optimization problem (OP) can be accessed or mutated via the method 'objective'.

Usage

1
2
3
4
5
objective(x)

objective(x) <- value

as.objective(x)

Arguments

x

an object used to select the method.

value

an R object.

Value

a function inheriting from "objective".

Author(s)

Stefan Theussl

Examples

1
2
x <- OP()
objective(x) <- 1:3

ROI documentation built on Aug. 29, 2020, 3:01 p.m.

Related to objective in ROI...