MCPcopy Create free account

hub / github.com/cvxpy/cvxpy / functions

Functions13,519 in github.com/cvxpy/cvxpy

↓ 2 callersMethodget_jacobian_sparsity_coo
Return the sparsity pattern (row, col) of the constraint Jacobian. Does not evaluate the Jacobian; only returns structural nonzero indices.
cvxpy/reductions/solvers/nlp_solvers/diff_engine/c_problem.py:92
↓ 2 callersFunctionget_kronr_mat
* LinOP -> Matrix FUNCTIONS *****************************/ * Return the coefficients for KRON_R. * * Parameters: linOp LIN with type KRON_R * Retu
cvxpy/cvxcore/src/LinOpOperations.cpp:319
↓ 2 callersMethodget_node
* Returns an iterator to the node that stores the information * of the given virtual pointer from the given pointer map structure. * If pointer
cvxpy/cvxcore/include/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h:202
↓ 2 callersFunctionget_node_coeffs
* Computes a vector of coefficient matrices for the linOp LIN based on the * type of linOp. * * Note: This function assumes LIN has been initialize
cvxpy/cvxcore/src/LinOpOperations.cpp:65
↓ 2 callersMethodget_param_tensor
Returns tensor of a parameter node, i.e., eye(n) across axes 0 and 2, where n is the size of the parameter.
cvxpy/lin_ops/backends/base.py:999
↓ 2 callersMethodget_problem_hessian_sparsity_coo
Return the sparsity pattern (row, col) of the lower-triangular Lagrangian Hessian. Does not evaluate the Hessian; only returns structural non
cvxpy/reductions/solvers/nlp_solvers/diff_engine/c_problem.py:109
↓ 2 callersFunctionget_row_nnz
Return the number of nonzeros in row.
cvxpy/reductions/solvers/compr_matrix.py:23
↓ 2 callersFunctionget_type
Returns the cvxcore type corresponding to the type of linPy.
cvxpy/cvxcore/python/cppbackend.py:136
↓ 2 callersMethodget_var_offsets
(variables)
cvxpy/reductions/inverse_data.py:46
↓ 2 callersMethodget_x
(gamma_value)
cvxpy/tests/test_examples.py:197
↓ 2 callersFunctiongroup_constraints
Organize the constraints into a dictionary keyed by constraint names. Parameters --------- constraints : list of constraints Returns
cvxpy/reductions/utilities.py:57
↓ 2 callersMethodhandle_options
Handle user-specified solver options. Options that have to be applied before the optimization are applied to the task here.
cvxpy/reductions/solvers/conic_solvers/mosek_conif.py:603
↓ 2 callersFunctionhandmade_aligned_malloc
\internal Like malloc, but the returned pointer is guaranteed to be 16-byte aligned. * Fast, but wastes 16 additional bytes of memory. Does not thro
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:100
↓ 2 callersMethodhas_key
(self, key)
cvxpy/cvxcore/python/cvxcore.py:706
↓ 2 callersFunctionhermitian_canon
Canonicalize functions that take a Hermitian matrix.
cvxpy/reductions/complex2real/canonicalizers/matrix_canon.py:69
↓ 2 callersFunctionhide_solver_output
Set CPLEX verbosity level (either on or off).
cvxpy/reductions/solvers/conic_solvers/cplex_conif.py:65
↓ 2 callersMethodhouseholderU
cvxpy/cvxcore/include/Eigen/src/SVD/UpperBidiagonalization.h:70
↓ 2 callersMethodhouseholderV
cvxpy/cvxcore/include/Eigen/src/SVD/UpperBidiagonalization.h:76
↓ 2 callersMethodhuber_small
(self, solver, places=4)
cvxpy/tests/test_qp_solvers.py:416
↓ 2 callersMethodincr
cvxpy/cvxcore/python/cvxcore_wrap.cxx:4785
↓ 2 callersMethodindex
(self, matrix, key)
cvxpy/interface/base_matrix_interface.py:85
↓ 2 callersMethodindex
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseDiagonalProduct.h:110
↓ 2 callersMethodinfo
cvxpy/cvxcore/include/Eigen/src/SVD/SVDBase.h:236
↓ 2 callersMethodinit
cvxpy/cvxcore/include/Eigen/src/Core/Visitor.h:146
↓ 2 callersMethodinitFactorization
cvxpy/cvxcore/include/Eigen/src/SuperLUSupport/SuperLUSupport.h:391
↓ 2 callersFunctioninit_data_tensor
Create a tensor with a problem data entry for each parameter, as a vector with entries equal to the parameter size.
cvxpy/cvxcore/src/cvxcore.cpp:133
↓ 2 callersMethodinit_hessian_coo_lower_tri
Fill sparsity for the Lagrangian Hessian (lower triangle, COO). Must be called once before get_problem_hessian_sparsity_coo() or eval
cvxpy/reductions/solvers/nlp_solvers/diff_engine/c_problem.py:72
↓ 2 callersMethodinit_id
Initialize TensorV/I/J for the given parameter.
cvxpy/cvxcore/src/ProblemData.hpp:36
↓ 2 callersMethodinit_jacobian_coo
Fill sparsity for the constraint Jacobian in COO format. Must be called once before get_jacobian_sparsity_coo() or eval_jacobian_vals().
cvxpy/reductions/solvers/nlp_solvers/diff_engine/c_problem.py:65
↓ 2 callersMethodinverse
cvxpy/cvxcore/include/Eigen/src/Geometry/Transform.h:1222
↓ 2 callersMethodinvert
Returns the solution to the original problem given the inverse_data.
cvxpy/reductions/solvers/nlp_solvers/uno_nlpif.py:70
↓ 2 callersMethodis_atom_concave
Is the atom concave? In quad_form_dpp_scope (QP solver path), allows parametric P: - x must be param-free (avoid quadratic-in-params)
cvxpy/atoms/quad_form.py:87
↓ 2 callersMethodis_atom_convex
Is the atom convex? In quad_form_dpp_scope (QP solver path), allows parametric P: - x must be param-free (avoid quadratic-in-params)
cvxpy/atoms/quad_form.py:74
↓ 2 callersMethodis_atom_log_log_concave
Is the atom log-log concave?
cvxpy/atoms/max.py:108
↓ 2 callersMethodis_atom_log_log_concave
Is the atom log-log concave?
cvxpy/atoms/atom.py:200
↓ 2 callersMethodis_atom_log_log_convex
Is the atom log-log convex?
cvxpy/atoms/max.py:103
↓ 2 callersMethodis_atom_log_log_convex
Is the atom log-log convex?
cvxpy/atoms/atom.py:195
↓ 2 callersMethodis_atom_quasiconcave
Is the atom quasiconcave?
cvxpy/atoms/atom.py:210
↓ 2 callersMethodis_atom_quasiconvex
Is the atom quasiconvex?
cvxpy/atoms/atom.py:205
↓ 2 callersMethodis_complex
(self)
cvxpy/atoms/affine/wraps.py:39
↓ 2 callersMethodis_concave
Is the expression concave?
cvxpy/transforms/partial_optimize.py:139
↓ 2 callersMethodis_constant
(self)
cvxpy/expressions/variable.py:71
↓ 2 callersMethodis_convex
Is the expression convex?
cvxpy/transforms/partial_optimize.py:133
↓ 2 callersMethodis_dcp
A power cone constraint is DCP if each argument is affine.
cvxpy/constraints/power.py:285
↓ 2 callersMethodis_dcp
A non-positive constraint is DCP if its argument is convex.
cvxpy/constraints/nonpos.py:220
↓ 2 callersMethodis_dcp
The objective must be concave.
cvxpy/problems/objective.py:228
↓ 2 callersMethodis_dead_principal
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Eigen_Colamd.h:171
↓ 2 callersMethodis_decr
Is the composition non-increasing in argument idx?
cvxpy/atoms/affine/affine_atom.py:71
↓ 2 callersMethodis_dgp
The objective must be log-log convex.
cvxpy/problems/objective.py:165
↓ 2 callersMethodis_dgp
The objective must be log-log concave.
cvxpy/problems/objective.py:242
↓ 2 callersMethodis_dnlp
The objective must be linearizable convex.
cvxpy/problems/objective.py:159
↓ 2 callersMethodis_imag
Is the expression imaginary?
cvxpy/atoms/affine/binary_operators.py:97
↓ 2 callersMethodis_incr
Is the composition non-decreasing in argument idx?
cvxpy/atoms/affine/affine_atom.py:65
↓ 2 callersMethodis_linearizable_concave
Is the expression concave after linearizing all smooth subexpressions?
cvxpy/expressions/expression.py:376
↓ 2 callersMethodis_linearizable_convex
Is the expression convex after linearizing all smooth subexpressions?
cvxpy/expressions/expression.py:370
↓ 2 callersFunctionis_malloc_allowed_impl
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:153
↓ 2 callersMethodis_nonneg
Is the expression positive?
cvxpy/expressions/expression.py:554
↓ 2 callersMethodis_nonpos
Is the expression negative?
cvxpy/expressions/expression.py:560
↓ 2 callersMethodis_nsd
Is the expression a negative semidefinite matrix?
cvxpy/atoms/affine/binary_operators.py:414
↓ 2 callersMethodis_param
(param: object)
cvxpy/reductions/solvers/conic_solvers/mosek_conif.py:685
↓ 2 callersMethodis_psd
Is the expression a positive semidefinite matrix?
cvxpy/atoms/affine/binary_operators.py:408
↓ 2 callersMethodis_quasilinear
(self)
cvxpy/expressions/expression.py:462
↓ 2 callersMethodis_skew_symmetric
Is the expression skew-symmetric?
cvxpy/atoms/affine/transpose.py:77
↓ 2 callersFunctionis_sparse_symmetric
Check if a sparse matrix is symmetric Parameters ---------- m : array or sparse matrix A square matrix. Returns -------
cvxpy/interface/matrix_utilities.py:315
↓ 2 callersMethodis_symmetric
Is the expression symmetric?
cvxpy/atoms/affine/imag.py:48
↓ 2 callersMethodis_xpress_available
Check if XPRESS is installed and a usable license can be acquired. The Community license bundled with the ``xpress`` package is sufficient
cvxpy/tests/test_qp_solvers.py:119
↓ 2 callersFunctionissue826
()
cvxpy/tests/ram_limited.py:34
↓ 2 callersMethoditerator
(self)
cvxpy/cvxcore/python/cvxcore.py:678
↓ 2 callersMethoditeritems
(self)
cvxpy/cvxcore/python/cvxcore.py:697
↓ 2 callersMethodkey_iterator
(self)
cvxpy/cvxcore/python/cvxcore.py:721
↓ 2 callersFunctionkn_rm_inf
Convert -inf to -kn.KN_INFINITY and inf to kn.KN_INFINITY.
cvxpy/reductions/solvers/conic_solvers/knitro_conif.py:46
↓ 2 callersFunctionkn_rm_inf
Convert -inf to -kn.KN_INFINITY and inf to kn.KN_INFINITY.
cvxpy/reductions/solvers/qp_solvers/knitro_qpif.py:44
↓ 2 callersFunctionlog_canon
(expr, args)
cvxpy/reductions/dgp2dcp/canonicalizers/log_canon.py:4
↓ 2 callersFunctionlog_canon
(expr, args, solver_context: SolverInfo | None = None)
cvxpy/reductions/dcp2cone/canonicalizers/log_canon.py:26
↓ 2 callersFunctionlower_equality
(equality)
cvxpy/reductions/utilities.py:35
↓ 2 callersFunctionlower_ineq_to_nonneg
(inequality)
cvxpy/reductions/utilities.py:29
↓ 2 callersMethodmakeHouseholder
cvxpy/cvxcore/include/Eigen/src/Householder/Householder.h:66
↓ 2 callersFunctionmake_block_householder_triangular_factor
cvxpy/cvxcore/include/Eigen/src/Householder/BlockHouseholder.h:51
↓ 2 callersFunctionmake_frac
Approximate ``a/sum(a)`` with tuple of fractions with denominator *exactly* ``denom``. >>> a = [.123, .345, .532] >>> make_frac(a,10) (F
cvxpy/utilities/power_tools.py:413
↓ 2 callersFunctionmake_smooth_range_dom_canon
Wrapper for canonicalizers whose domain is a bounded interval.
cvxpy/reductions/dnlp2smooth/canonicalizers/common_smooth_canons.py:63
↓ 2 callersMethodmake_test_1
Enforce an upper bound of 0.8 on trace(N); Expect N's unspecified eigenvalue to be 0.2
cvxpy/tests/test_von_neumann_entr.py:36
↓ 2 callersMethodmake_test_2
Enforce a lower bound of 0.9 on trace(N); Expect N's unspecified eigenvalue to be 0.4
cvxpy/tests/test_von_neumann_entr.py:86
↓ 2 callersMethodmat_to_list
Convert a numpy matrix to a list.
cvxpy/tests/base_test.py:41
↓ 2 callersFunctionmat_vec_mul
TODO: Several loops in this file are trivially parallelizable; consider parallelizing some (parallelism will be nested inside build_matrix) multiply
cvxpy/cvxcore/src/Utils.cpp:21
↓ 2 callersFunctionmatmul
Matrix multiplication.
cvxpy/atoms/affine/binary_operators.py:116
↓ 2 callersFunctionmatmul_bounds
Bounds for matrix multiplication: x @ y. When one operand is a point (lb == ub, i.e. a constant), uses the exact split formula: A_pos @ lb2 +
cvxpy/utilities/bounds.py:747
↓ 2 callersMethodmatrixL
\returns an expression of the matrix L, internally stored as supernodes * The only operation available with this expression is the triangular so
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU.h:243
↓ 2 callersMethodmatrixR
\returns the sparse triangular factor R. It is a sparse matrix */
cvxpy/cvxcore/include/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h:201
↓ 2 callersMethodmatrixZ
\returns the matrix \b Z. */
cvxpy/cvxcore/include/Eigen/src/QR/CompleteOrthogonalDecomposition.h:161
↓ 2 callersMethodmaxPivot
\returns the absolute value of the biggest pivot, i.e. the biggest * diagonal coefficient of U. */
cvxpy/cvxcore/include/Eigen/src/LU/FullPivLU.h:154
↓ 2 callersFunctionmax_canon
(expr, args, solver_context: SolverInfo | None = None)
cvxpy/reductions/eliminate_pwl/canonicalizers/max_canon.py:23
↓ 2 callersMethodmaximize_problem
(self, solver)
cvxpy/tests/test_qp_solvers.py:257
↓ 2 callersFunctionmaximum_canon
(expr, args, solver_context: SolverInfo | None = None)
cvxpy/reductions/eliminate_pwl/canonicalizers/maximum_canon.py:23
↓ 2 callersMethodmem_expand
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU_panel_dfs.h:53
↓ 2 callersFunctionminimum_degree_ordering
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Amd.h:84
↓ 2 callersFunctionmul_shapes_promote
Promotes shapes as necessary and returns promoted shape of product. If lh_shape is of length one, prepend a one to it. If rh_shape is of
cvxpy/utilities/shape.py:51
↓ 2 callersFunctionmulexpression_canon
(expr, args)
cvxpy/reductions/dgp2dcp/canonicalizers/mulexpression_canon.py:24
↓ 2 callersMethodname
(self)
cvxpy/atoms/affine/unary_operators.py:35
↓ 2 callersMethodname
str : The string representation of the expression.
cvxpy/expressions/expression.py:198
↓ 2 callersMethodname
The value of the constant as a string.
cvxpy/expressions/constants/constant.py:84
← previousnext →1,401–1,500 of 13,519, ranked by callers