Learn R Programming

optiSolve (version 1.0.1)

Linear, Quadratic, and Rational Optimization

Description

Solver for linear, quadratic, and rational programs with linear, quadratic, and rational constraints. A unified interface to different R packages is provided. Optimization problems are transformed into equivalent formulations and solved by the respective package. For example, quadratic programming problems with linear, quadratic and rational constraints can be solved by augmented Lagrangian minimization using package 'alabama', or by sequential quadratic programming using solver 'slsqp'. Alternatively, they can be reformulated as optimization problems with second order cone constraints and solved with package 'cccp'.

Copy Link

Version

Install

install.packages('optiSolve')

Monthly Downloads

819

Version

1.0.1

License

GPL-2

Maintainer

Robin Wellmann

Last Published

July 27th, 2026

Functions in optiSolve (1.0.1)

solvecop

Solve a Constrained Optimization Problem
linfun

Linear Objective Function
myQ

Kinship Matrix
adjust

Adjust Constraints and Objective Functions
lincon

Linear Constraints
cop

Constrained Optimization Problem
lbcon

Lower Bounds
ratiofun

Rational Objective Function
print.copValidation

Print Validation of a Solution
myQ1

Kinship Matrix
phenotype

Phenotypes of Genotyped Cattle
myQ2

Kinship Matrix
optiSolve-package

tools:::Rd_package_title("optiSolve")
quadcon

Quadratic Constraint
ratiocon

Rational Constraint
validate

Validate a Solution
ubcon

Upper Bounds
quadfun

Quadratic Objective Function