Learn R Programming

nlopt (version 0.1.1)

check_solver: Checks if solver exists

Description

Function that checks if the solver exists and it can be run without any issue

Usage

check_solver(solver)

Value

TRUE if the solver exists and FALSE otherwise

Arguments

solver

name of the solver (it has to be in the PATH)

Examples

Run this code
check_solver(solver = "ipopt")

Run the code above in your browser using DataLab