This class is used to represent portfolios used in optimization. Only experts should use the fields and methods for this class directly.
Super class
prioritizr::ConservationModifier
-> Portfolio
Methods
Inherited methods
prioritizr::ConservationModifier$calculate()
prioritizr::ConservationModifier$get_data()
prioritizr::ConservationModifier$get_internal()
prioritizr::ConservationModifier$print()
prioritizr::ConservationModifier$repr()
prioritizr::ConservationModifier$set_data()
prioritizr::ConservationModifier$set_internal()
prioritizr::ConservationModifier$show()
Method run()
Run the portfolio to generate solutions.
Arguments
x
optimization_problem()
object.solver
Solver
object.