Learn R Programming

SCIP

This is an R interface to the SCIP Optimization Suite.
SCIP is one of the fastest non-commercial solvers for mixed integer programming (MIP) and mixed integer nonlinear programming (MINLP). It is also a framework for constraint integer programming and branch-cut-and-price. It allows for total control of the solution process and the access of detailed information down to the guts of the solver.

Installation

Install the released version from CRAN:

install.packages("scip")

Or install the development version from GitHub:

# install.packages("pak")
pak::pak("bnaras/scip")

Usage

Refer to the vignettes for examples. However, one of the easiest way to use this and many other solvers is via CVXR (version 1.8.2 and higher).

License

Apache License 2.0

Copy Link

Version

Install

install.packages('scip')

Version

1.10.0-2

License

Apache License (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Balasubramanian Narasimhan

Last Published

April 3rd, 2026

Functions in scip (1.10.0-2)

scip_add_indicator_cons

Add an indicator constraint to a SCIP model
scip_add_var

Add a variable to a SCIP model
scip_add_sos2_cons

Add a SOS2 constraint to a SCIP model
scip-package

scip: R Interface to the SCIP Optimization Suite
scip_add_linear_cons

Add a linear constraint to a SCIP model
scip_add_quadratic_cons

Add a quadratic constraint to a SCIP model
scip_add_vars

Add multiple variables to a SCIP model
scip_add_sos1_cons

Add a SOS1 constraint to a SCIP model
scip_get_status

Get solver status
print.scip_control

Print method for scip_control objects
scip_model

Create a SCIP model
scip_get_sol

Get the k-th solution from the solution pool
scip_get_solution

Get the best solution
scip_control

SCIP solver control parameters
scip_get_info

Get solver information
scip_optimize

Solve a SCIP model
scip_solve

Solve a linear or mixed-integer program using SCIP
scip_model_free

Free a SCIP model
make_csc_matrix

Convert a matrix to CSC (Compressed Sparse Column) format
scip_get_nsols

Get number of solutions found
scip_get_objval

Get objective value of best solution
scip_set_objective_sense

Set objective sense
scip_set_param

Set a SCIP parameter