Learn R Programming

clarabel (version 0.11.2)

solver_is_update_allowed: Check if data updates are allowed on a persistent solver

Description

Returns FALSE if presolve, chordal decomposition, or input_sparse_dropzeros is enabled, which prevents data updates.

Usage

solver_is_update_allowed(solver)

Value

logical scalar

Arguments

solver

a ClarabelSolver object created by clarabel_solver()

See Also

clarabel_solver(), solver_update()

Examples

Run this code
if (FALSE) {
solver_is_update_allowed(s)  # TRUE if presolve and chordal decomp are off
}

Run the code above in your browser using DataLab