| SizeMetrics-class | R Documentation |
This class contains various metrics regarding the problem size.
SizeMetrics(problem)
problem |
A Problem object. |
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_squares expression is a wrapper for a quad_over_lin expression with a constant 1 in 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.