add_default_portfolio: Add a default portfolio

View source: R/add_default_portfolio.R

add_default_portfolioR Documentation

Add a default portfolio

Description

Generate a portfolio containing a single solution.

Usage

add_default_portfolio(x)

Arguments

x

problem() object.

Details

By default, this is portfolio is added to problem() objects if no other portfolios is manually specified.

Value

An updated problem() object with the portfolio added to it.

See Also

See portfolios for an overview of all functions for adding a portfolio.

Other portfolios: add_cuts_portfolio(), add_extra_portfolio(), add_gap_portfolio(), add_shuffle_portfolio(), add_top_portfolio()


prioritizr/prioritizr documentation built on July 5, 2024, 2:14 p.m.