Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

SizeMetrics-class

The SizeMetrics class.


Description

This class contains various metrics regarding the problem size.

Usage

SizeMetrics(problem)

Arguments

problem

A Problem object.

Slots

num_scalar_variables

The number of scalar variables in the problem.

num_scalar_data

The 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_constr

The number of scalar equality constraints in the problem.

num_scalar_leq_constr

The number of scalar inequality constraints in the problem.

max_data_dimension

The longest dimension of any data block constraint or parameter.

max_big_small_squared

The 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.


CVXR

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.