| Negative Semidefinite Constraint Operator | %<<% |
| Positive Semidefinite Constraint Operator | %>>% |
| Logical AND | And |
| Convert a value to a CVXR Expression | as_cvxr_expr |
| List available solvers | available_solvers exclude_solvers include_solvers set_excluded_solvers |
| Compute the gradient of a solution with respect to Parameters | backward |
| Construct a Block Matrix | bmat |
| Callback Parameter | CallbackParam |
| Global Monthly and Annual Temperature Anomalies (degrees C), 1850-2015 (Relative to the 1961-1990 Mean) (May 2016) | cdiac |
| Elementwise Ceiling | ceil_expr |
| Condition number of a PSD matrix | condition_number |
| Create a Constant Expression | Constant |
| Get the Constants in an Expression | constants |
| Get Problem Constraints (read-only) | constraints |
| 1D discrete convolution | conv |
| 1D discrete convolution (numpy-style) | convolve |
| Cumulative maximum along an axis | cummax_expr |
| Cumulative sum along an axis | cumsum_axis |
| Get Expression Curvature | curvature |
| Conditional Value at Risk (CVaR) | cvar |
| Compute kth Order Differences of an Expression | cvxr_diff |
| Mean of an expression | cvxr_mean |
| Compute a norm of an expression | cvxr_norm |
| Outer product of two vectors | cvxr_outer |
| Standard deviation of an expression | cvxr_std std |
| Variance of an expression | cvxr_var |
| Access the perturbation 'delta' of a Variable or Parameter | delta delta<- |
| Apply the derivative of the solution map to perturbations | derivative |
| Extract Diagonal from a Matrix | DiagMat |
| Vector to Diagonal Matrix | DiagVec |
| The difference x - y with domain x > y > 0 | diff_pos |
| Distance ratio | dist_ratio |
| Weighted sorted dot product | dotsort |
| Direct Standardization: Population | dspop |
| Direct Standardization: Sample | dssamp |
| Get the Dual Value of a Constraint | dual_value |
| Create an entropy atom -x * log(x) | entr |
| Create an Equality Constraint | Equality |
| Create an Exponential Cone Constraint | ExpCone |
| Conjugate-Transpose of an Expression | expr_H |
| Get the DCP Sign of an Expression | expr_sign |
| Unity resolvent (I - X) inverse for positive square matrix X | eye_minus_inv |
| FiniteSet Constraint | FiniteSet |
| Elementwise Floor | floor_expr |
| Pretty-print an expression with labels substituted | format_labeled |
| Maximum generalized eigenvalue | gen_lambda_max |
| (Weighted) geometric mean of a vector | geo_mean |
| Lower/Upper Bounds of a Leaf | get_bounds |
| Get Problem Data for a Solver (deprecated) | get_problem_data |
| Geometric matrix multiplication A diamond X | gmatmul |
| Access the gradient of a Variable or Parameter | gradient gradient<- |
| Harmonic mean: n / sum(1/x_i) | harmonic_mean |
| Horizontal concatenation of expressions | hstack |
| Create a Huber loss atom | huber |
| Get Expression ID | id |
| Logical Biconditional | iff |
| Logical Implication | implies |
| Indicator function for constraints | indicator |
| Create an Inequality Constraint | Inequality |
| List installed solvers | installed_solvers |
| Inverse position: x^{-1} (for x > 0) | inv_pos |
| Reciprocal of product of entries | inv_prod |
| Check if an Expression is Affine | is_affine |
| Check if an Atom is Smooth | is_atom_smooth |
| Check if an Expression is Concave | is_concave |
| Check if an Expression is Constant | is_constant |
| Check if an Expression is Convex | is_convex |
| Check if an Expression is DCP-Compliant | is_dcp |
| Check if a Constraint is DGP-Compliant | is_dgp |
| Check if an Expression or Problem is DNLP-Compliant | is_dnlp |
| Check DPP Compliance | is_dpp |
| Check if Expression is DQCP-Compliant | is_dqcp |
| Check if an Expression is Linearizable-Concave | is_linearizable_concave |
| Check if an Expression is Linearizable-Convex | is_linearizable_convex |
| Check if Expression is Log-Log Affine | is_log_log_affine |
| Check if Expression is Log-Log Concave | is_log_log_concave |
| Check if Expression is Log-Log Convex | is_log_log_convex |
| Check if a Problem is a Linear Program | is_lp |
| Is the Expression a Matrix? | is_matrix |
| Check if a Problem is Mixed-Integer | is_mixed_integer |
| Check if Expression is Non-Negative | is_nonneg |
| Check if Expression is Non-Positive | is_nonpos |
| Check if Expression is Negative Semidefinite | is_nsd |
| Check if Expression is Positive Semidefinite | is_psd |
| Check if Expression is Piecewise Linear | is_pwl |
| Check if a Problem is a Quadratic Program | is_qp |
| Check if an Expression is Quadratic | is_quadratic |
| Check if Expression is Quasiconcave | is_quasiconcave |
| Check if Expression is Quasiconvex | is_quasiconvex |
| Check if Expression is Quasilinear | is_quasilinear |
| Is the Expression a Scalar? | is_scalar |
| Check if an Expression is Smooth | is_smooth |
| Check if Expression is Symmetric | is_symmetric |
| Is the Expression a Vector? | is_vector |
| Check if Expression is Zero | is_zero |
| KL Divergence: x*log(x/y) - x + y | kl_div |
| Kronecker product of two expressions | kron |
| Get the label of an expression | label |
| Set the label of an expression | label<- |
| Maximum eigenvalue | lambda_max |
| Minimum eigenvalue | lambda_min |
| Sum of largest k eigenvalues | lambda_sum_largest |
| Sum of smallest k eigenvalues | lambda_sum_smallest |
| Length of a Vector (Last Nonzero Index) | length_expr |
| Log-determinant | log_det |
| Elementwise log of the standard normal CDF | log_normcdf |
| Log-sum-exp: log(sum(exp(x))) | log_sum_exp |
| Log(1 + x) - elementwise | log1p_atom log1p_expr |
| Elementwise log of the gamma function | loggamma |
| Logistic function: log(1 + exp(x)) - elementwise | logistic |
| Make a CSC sparse diagonal matrix | make_sparse_diagonal_matrix |
| Standard R Functions for CVXR Expressions | diag math_atoms norm outer sd var |
| Matrix fractional function | matrix_frac |
| Trace of a square matrix expression | matrix_trace |
| Elementwise maximum of expressions | max_elemwise |
| Maximum entry of an expression | max_entries |
| Create a Maximization Objective | Maximize |
| Elementwise minimum of expressions | min_elemwise |
| Minimum entry of an expression | min_entries |
| Create a Minimization Objective | Minimize |
| Mixed norm (L_{p,q} norm): column-wise p-norm, then q-norm | mixed_norm |
| Elementwise multiplication (deprecated) | multiply |
| Get Expression Name | name |
| Negative part: -min(x, 0) | neg |
| Create a Non-Negative Constraint | NonNeg |
| Create a Non-Positive Constraint | NonPos |
| L-infinity norm of an expression | norm_inf |
| Nuclear norm (sum of singular values) | norm_nuc |
| L1 norm of an expression | norm1 |
| Euclidean norm (deprecated alias) | norm2 |
| Standard Normal Cumulative Distribution Function | normcdf |
| Logical NOT | Not |
| Get Problem Objective (read-only) | objective |
| The difference 1 - x with domain (0, 1) | one_minus_pos |
| Logical OR | Or |
| General p-norm of an expression | p_norm |
| Get all Parameters of a Problem as a Named List | param_dict |
| Create a Parameter | Parameter |
| Get the Parameters in an Expression | parameters |
| Partial optimization transform | partial_optimize |
| Partial trace of a tensor product expression | partial_trace |
| Partial transpose of a tensor product expression | partial_transpose |
| Perspective Transform | perspective |
| Perron-Frobenius eigenvalue of a positive matrix | pf_eigenvalue |
| Positive part: max(x, 0) | pos |
| Create a 3D Power Cone Constraint | PowCone3D |
| Create an N-Dimensional Power Cone Constraint | PowConeND |
| Create a Power atom | power |
| Create an Optimization Problem | Problem |
| Get Problem Data for a Solver | problem_data |
| Get the Raw Solution Object (deprecated) | problem_solution |
| Get the Solution Status of a Problem (deprecated) | problem_status |
| Unpack Solver Results into a Problem | problem_unpack_results |
| Product of entries along an axis | prod_entries |
| Create a Positive Semidefinite Constraint | PSD |
| Solve a Convex Optimization Problem | psolve |
| Peak-to-peak (range): max(x) - min(x) | ptp |
| Quadratic form x^T P x | quad_form |
| Sum of squares divided by a scalar | quad_over_lin |
| Reduction chain-rule hooks (dict-in / dict-out) | param_backward param_forward reduction-chain-rule var_backward var_forward |
| Reduction leaf-id maps | param_id_map reduction-id-map var_id_map |
| Relative Entropy: x*log(x/y) | rel_entr |
| Reshape an expression to a new shape | reshape_expr |
| Get the Residual of a Constraint | residual |
| Resolvent inverse(sI - X) | resolvent |
| Sampling Bounds for NLP Random Restarts | sample_bounds sample_bounds<- |
| Scalar product (alias for vdot) | scalar_product |
| Scalarize multiple objectives into a single objective | scalarize |
| Scalene penalty: alpha * pos(x) + beta * neg(x) | scalene |
| Attach a label to an expression | set_label |
| Maximum singular value | sigma_max |
| Get Expression Size | size |
| Get Size Metrics for a Problem | size_metrics |
| Problem Size Metrics | SizeMetrics |
| Create a Second-Order Cone Constraint | SOC |
| Get the Raw Solution Object | solution |
| Solve via Raw Data | solve_via_data |
| Standard Solver Parameter Mappings | solver_default_param |
| Create Solver Options | solver_opts |
| Get Solver Statistics | solver_stats |
| Solver Name Constants | CLARABEL_SOLVER COPT_SOLVER CPLEX_SOLVER CVXOPT_SOLVER DIFFCP_SOLVER ECOS_BB_SOLVER ECOS_SOLVER GLPK_MI_SOLVER GLPK_SOLVER GUROBI_SOLVER HIGHS_SOLVER IPOPT_SOLVER KNITRO_SOLVER MOSEK_SOLVER OSQP_SOLVER PIQP_SOLVER SCIP_SOLVER SCS_SOLVER solver-constants UNO_SOLVER XPRESS_SOLVER |
| Square of an expression: x^2 | square |
| Get the Solution Status of a Problem | status |
| Solution Status Constants | INFEASIBLE INFEASIBLE_INACCURATE INFEASIBLE_OR_UNBOUNDED OPTIMAL OPTIMAL_INACCURATE SOLVER_ERROR status-constants UNBOUNDED UNBOUNDED_INACCURATE USER_LIMIT |
| Sum the entries of an expression | sum_entries |
| Sum of k largest entries | sum_largest |
| Sum of k smallest entries | sum_smallest |
| Sum of squares (= quad_over_lin(x, 1)) | sum_squares |
| Convert CVXR Object to LaTeX | to_latex |
| Total variation of a vector or matrix | total_variation |
| Trace of matrix inverse | tr_inv |
| Total variation (deprecated alias) | tv |
| Unpack Results (backward-compatible alias) | unpack_results |
| Extract strict upper triangle of a square matrix | upper_tri |
| Get the Numeric Value of an Expression | value |
| Set the Value of a Leaf Expression | value<- |
| Get all Variables of a Problem as a Named List | var_dict |
| Create an Optimization Variable | Variable |
| Get the Variables in an Expression | variables |
| Vector dot product (inner product) | vdot |
| Vectorize an expression (column vector) | vec |
| Reshape a vector into an upper triangular matrix | vec_to_upper_tri |
| Get the Violation of a Constraint | violation |
| Visualize the Canonicalization Pipeline of a CVXR Problem | visualize |
| Vertical concatenation of expressions | vstack |
| x * exp(x) - elementwise | xexp |
| Logical XOR | Xor |
| Create a Zero Constraint | Zero |