Learn R Programming

sybil (version 2.0.0)

getColPrim-methods: Get Primal Value of Variables After Optimization

Description

Get primal value of variables after optimization.

Usage

# S4 method for optObj_clpAPI,numeric
getColPrim(lp, j)

# S4 method for optObj_cplexAPI,numeric getColPrim(lp, j)

# S4 method for optObj_glpkAPI,numeric getColPrim(lp, j)

# S4 method for optObj_lpSolveAPI,numeric getColPrim(lp, j)

Arguments

lp

An object extending class '>optObj.

j

A numeric vector containing the column (variable) indices.

Value

A numeric vector containing the desired primal values.

Methods

signature(lp = "optObj_clpAPI", j = "numeric")

method to use with package optObj_clpAPI.

signature(lp = "optObj_cplexAPI", j = "numeric")

method to use with package optObj_cplexAPI.

signature(lp = "optObj_glpkAPI", j = "numeric")

method to use with package optObj_glpkAPI.

signature(lp = "optObj_lpSolveAPI", j = "numeric")

method to use with package optObj_lpSolveAPI.

See Also

Superclass '>optObj and constructor function optObj.