Learn R Programming

PortfolioAnalytics (version 1.1.0)

maxret_milp_opt: Maximum Return MILP Optimization

Description

This function is called by optimize.portfolio to solve maximum return problems via mixed integer linear programming.

Usage

maxret_milp_opt(R, constraints, moments, target, solver = "glpk",
  control = NULL)

Arguments

R

xts object of asset returns

constraints

object of constraints in the portfolio object extracted with get_constraints

moments

object of moments computed based on objective functions

target

target return value

solver

solver to use

control

list of solver control parameters

Author

Ross Bennett