solver.solveAndGetSolution.cplex.internal: Returns the solution for the given lp, solving it internally...

Description Usage Examples

Description

Returns the solution for the given lp, solving it internally using the "cplexAPI" package install.packages("cplexAPI", configure.args = "–with-cplex-dir=/path/to/CPLEX_Studio_Community129/cplex", verbose = T)

Usage

1

Examples

1
2
3
4
  lp.glpk = initProbGLPK()
  readLPGLPK(lp.glpk, fname="glpkAPI.lp")
  solverConfig = list(name = "cplex", external = F, mipGap = 0.0001, timeout = 1000, verbose = T)
  solution.cplex = solver.solveAndGetSolution.cplex.internal(lp.glpk, solverConfig)

yuehmeir2/CATSimulator documentation built on June 13, 2021, 7:02 p.m.