lpSolveAPI v5.5.2.0-17.6

0

Monthly downloads

0th

Percentile

R Interface to 'lp_solve' Version 5.5.2.0

The lpSolveAPI package provides an R interface to 'lp_solve', a Mixed Integer Linear Programming (MILP) solver with support for pure linear, (mixed) integer/binary, semi-continuous and special ordered sets (SOS) models.

Readme

lpSolveAPI

The lpSolveAPI package was created by Kjell Konis, I currently maintain the package. lpSolveAPI provides an interface to lp_solve which was last updated 2016. Therefore if you don't need callbacks it is recommended to use ROI (https://cran.r-project.org/package=ROI, http://roi.r-forge.r-project.org/) instead.

Functions in lpSolveAPI

Name Description
get.kind Get Kind
delete.lp Delete Linear Program Model
get.mat Get Matrix Element
get.branch.mode Get Branch Mode
get.column Get Column
dimnames.lpExtPtr Dimnames of an Object
get.primal.solution Get Primal Solution
delete.column Delete Column
get.objective Get Objective
add.constraint Add Constraint
get.rhs Get Right-Hand-Side
get.basis Get Basis
get.sensitivity.rhs Get Sensitivity: Right-Hand-Side
get.sensitivity.objex Get Sensitivity: Objective Extended
get.bounds Get Bounds
get.constraints Get Constraints
add.column Add Column
get.sensitivity.obj Get Sensitivity: Objective
get.total.nodes Get Total Nodes
get.type Get Type
get.dual.solution Get Dual Solution
row.add.mode Row Add Mode
make.lp Make LP
select.solution Select Solution
get.constr.type Get Constraint Type
get.constr.value Get Constraint Value
set.constr.value Set Constraint Value
name.lp Name LP
write.lp Write Linear Program
set.mat Set Matrix Element
resize.lp Resize LP
read.lp Read LP
set.constr.type Set Constraint Type
set.column Set Column
lp.control lpSolve Control Parameters
guess.basis Guess Basis
get.variables Get Variables
get.solutioncount Get Solution Count
set.objfn Set Objective Function
get.total.iter Get Total Iterations
set.rhs Set Right-Hand-Side
lp.control.options Solver Control Options
set.basis Set Basis
print.lpExtPtr lpSolve Print Method
set.branch.weights Set Branch Weights
set.row Set Row
set.branch.mode Set Branch Mode
plot.lpExtPtr lpExtPtr Plot Method
set.semicont Set Semicontinuous
set.type Set Type
solve.lpExtPtr Solve a Linear Program
set.bounds Set Bounds
delete.constraint Delete Constraint
dim.lpExtPtr Dimension of an Object
add.SOS Add A Special Ordered Set Constraint
No Results!

Last month downloads

Details

License LGPL-2
NeedsCompilation yes
Packaged 2020-01-09 22:25:57 UTC; florian
Repository CRAN
Date/Publication 2020-01-10 12:20:16 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/lpSolveAPI)](http://www.rdocumentation.org/packages/lpSolveAPI)