Learn R Programming

CVXR (version 1.9.1)

solve_via_data: Solve via Raw Data

Description

Calls the solver on pre-compiled problem data (step 2 of the decomposed solve pipeline). Dispatches on x: when x is a SolvingChain, delegates to the terminal solver with proper cache management.

Usage

solve_via_data(
  x,
  data,
  warm_start = FALSE,
  verbose = FALSE,
  solver_opts = list(),
  ...
)

Value

Solver-specific result (a named list).

Arguments

x

A SolvingChain (preferred) or Solver object.

data

Named list of solver data from problem_data().

warm_start

Logical; use warm-start if supported.

verbose

Logical; print solver output.

solver_opts

Named list of solver-specific options.

...

Additional arguments forwarded to the method (e.g. problem for the SolvingChain method, solver_cache for the Solver method).

See Also

problem_data, problem_unpack_results