| SizeMetrics-class {CVXR} | R Documentation |
The SizeMetrics class.
Description
This class contains various metrics regarding the problem size.
Usage
SizeMetrics(problem)
Arguments
problem |
A Problem object. |
Slots
num_scalar_variablesThe number of scalar variables in the problem.
num_scalar_dataThe number of constants used across all matrices and vectors in the problem. Some constants are not apparent when the problem is constructed. For example, the
sum_squaresexpression is a wrapper for aquad_over_linexpression with a constant1in the denominator.num_scalar_eq_constrThe number of scalar equality constraints in the problem.
num_scalar_leq_constrThe number of scalar inequality constraints in the problem.
max_data_dimensionThe longest dimension of any data block constraint or parameter.
max_big_small_squaredThe maximum value of (big)(small)^2 over all data blocks of the problem, where (big) is the larger dimension and (small) is the smaller dimension for each data block.
[Package CVXR version 1.0-14 Index]