fsst.cone.lp: Computes the solution to the cone problem

View source: R/fsst.R

fsst.cone.lpR Documentation

Computes the solution to the cone problem

Description

This function computes the solution to the cone problem.

Usage

fsst.cone.lp(n, omega.i, beta.n, beta.star, lpmodel, indicator, solver)

Arguments

n

The sample size. This is only required if data is omitted in the input.

omega.i

The matrix \widehat{\bm{Ω}}^i_n, i.e. the regularized matrix for \widehat{\bm{Σ}}^{β^\star}_{n,\bar{ρ}}.

beta.n

The sample \widehat{\bm{β}}_n vector that is defined as \widehat{\bm{β}}_n \equiv (\widehat{\bm{β}}_{{\rm obs},n}, \bm{β}_{{\rm shp},n}, \bm{β}_{{\rm tgt}})'.

beta.star

The starred version of the beta.n vector, i.e. \widehat{\bm{β}}^\star_n.

lpmodel

The lpmodel object.

indicator

A binary variable that equals to 1 for d ≥q p and equals to 0 for d < p.

solver

The name of the linear and quadratic programming solver that is used to obtain the solution to linear and quadratic programs. The solvers supported by this package are cplexAPI, gurobi, limSolve and Rcplex.

Value

Returns the optimal point and optimal value.

objval

The optimal value.

x

The optimal point.


conroylau/lpinfer documentation built on Oct. 23, 2022, 9:21 a.m.