add_objective_max_benefit: Deprecated benefit objective

View source: R/add_objectives.R

add_objective_max_benefitR Documentation

Deprecated benefit objective

Description

Use add_objective_max_effect() for signed net effects.

Usage

add_objective_max_benefit(x, actions = NULL, features = NULL, alias = NULL)

Arguments

x

A Problem object.

actions

Optional subset of actions to include in the objective. Values may match x$data$actions$id and, if present, x$data$actions$action_set. If NULL, all actions are included.

features

Optional subset of features to include in the objective. Values may match x$data$features$id and, if present, x$data$features$name. If NULL, all features are included.

alias

Optional identifier used to register this objective for multi-objective workflows.

Value

An updated Problem object.


multiscape documentation built on Oct. 12, 2026, 5:08 p.m.