set_lpsolve: Set lpSolve linear program model object

Description Usage Arguments Value

Description

Set up a new lpSolve linear program model object from a corresponding R object.

Usage

1

Arguments

lp

An R object that encapsulates the data used to specify a linear program model. This is a list with the following components: constraint, objective, var.type, upper and lower. The last three components are optional and default to NULL.

Value

A lpSolveAPI::lpExtPtr object. This is an external pointer to a "lprec" structure used by the lp_solve C API that underlies the lpSolveAPI package.


yuehmeir2/myFormAssembler documentation built on June 9, 2021, 3:42 a.m.