check.solver: Check function: solvers

View source: R/checks.R

check.solverR Documentation

Check function: solvers

Description

This function checks the solver used is supported and is appropriate for the testing function. If not, an error message is displayed.

Usage

check.solver(x, name.var, norm = 2, qc = FALSE)

Arguments

x

The variable to be checked.

name.var

The name of the variable.

norm

The norm used (if applicable).

qc

An indicator of whether the problem consists of a quadratic constraint.

Value

Returns the function name that corresponds to the solver for the problem.

solver

The function for the solver used.

solver.name

The name of the solver used in lower case.


conroylau/lpinfer documentation built on Oct. 25, 2024, 4 a.m.