toCPXMatrix: Function to map a constraint matrix to a cplex compatible...

toCPXMatrixR Documentation

Function to map a constraint matrix to a cplex compatible row,column, value set of triples

Description

This function is heavily influences by Rcplex: See Rcplex:::toCPXMatrix. However, Rcplex is a difficult package to include as a dependency as it requires explicit compilation with links to proprietry header/library files.

Usage

toCPXMatrix(Amat)

Arguments

Amat

Constraint matrix. Can be of type sparseMatrix or simple_triplet_matrix

Value

A list compatible with the copyLpCPLEX in cplexAPI

See Also

cplexAPI::copyLpCPLEX


adamsardar/stoneTrees documentation built on May 20, 2022, 7:38 p.m.