MCPcopy Create free account

hub / github.com/cvxpy/cvxpy / functions

Functions13,519 in github.com/cvxpy/cvxpy

↓ 2 callersFunction_validate_problem_data
Validate problem data for NaN and Inf values. Raises ValueError if: - Any matrix/vector contains NaN - Objective or constraint matrix (no
cvxpy/reductions/solvers/solving_chain.py:412
↓ 2 callersFunctionabsolute_split
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h:882
↓ 2 callersFunctionacc_dict_mat
Accumulate right hand DictMat into left hand by addition.
cvxpy/cvxcore/src/Utils.cpp:73
↓ 2 callersFunctionacc_mat_vec
Accumulate right hand vector of matrices into left hand by addition.
cvxpy/cvxcore/src/Utils.cpp:38
↓ 2 callersMethodaccepts
(self, problem)
cvxpy/reductions/complex2real/complex2real.py:64
↓ 2 callersMethodaccepts
Can Cbc solve the problem?
cvxpy/reductions/solvers/conic_solvers/cbc_conif.py:68
↓ 2 callersFunctionacos
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1656
↓ 2 callersFunctionadd
Helper function to sum arguments. Negates rh_arg if neg is True.
cvxpy/reductions/complex2real/canonicalizers/aff_canon.py:84
↓ 2 callersMethodadd_model_lin_constr
Adds EQ/LEQ constraints to the model using the data from mat and vec. Return list contains constraints.
cvxpy/reductions/solvers/conic_solvers/scip_conif.py:397
↓ 2 callersMethodadd_model_lin_constr
Adds EQ/LEQ constraints to the model using the data from mat and vec. Parameters ---------- model : GUROBI model
cvxpy/reductions/solvers/conic_solvers/gurobi_conif.py:311
↓ 2 callersMethodadd_model_lin_constr
Adds EQ/LEQ constraints to the model using the data from mat and vec. Parameters ---------- model : CPLEX model T
cvxpy/reductions/solvers/conic_solvers/cplex_conif.py:398
↓ 2 callersMethodaffine
Extract problem data tensor from an expression that is reducible to A*x + b. Applying the tensor to a flattened parameter vector and
cvxpy/utilities/coeff_extractor.py:46
↓ 2 callersMethodaffine_problem
(self, solver)
cvxpy/tests/test_qp_solvers.py:245
↓ 2 callersMethodangle
\returns the value of the rotation angle in radian */
cvxpy/cvxcore/include/Eigen/src/Geometry/AngleAxis.h:91
↓ 2 callersMethodapply
Converts a DGP problem to a DCP problem.
cvxpy/reductions/dgp2dcp/dgp2dcp.py:172
↓ 2 callersMethodapply
(self, problem)
cvxpy/reductions/complex2real/complex2real.py:244
↓ 2 callersMethodapplyThisOnTheRight
cvxpy/cvxcore/include/Eigen/src/Core/EigenBase.h:101
↓ 2 callersMethodapply_all
Apply 'func' across all variables and parameter slices.
cvxpy/lin_ops/backends/base.py:386
↓ 2 callersFunctionapply_block_householder_on_the_left
cvxpy/cvxcore/include/Eigen/src/Householder/BlockHouseholder.h:86
↓ 2 callersMethodassignDiagonalCoeff
cvxpy/cvxcore/include/Eigen/src/Core/TriangularMatrix.h:785
↓ 2 callersMethodat
\returns the stored value at index \a key * If the value does not exist, then the value \a defaultValue is returned without any insertion. */
cvxpy/cvxcore/include/Eigen/src/SparseCore/CompressedStorage.h:146
↓ 2 callersMethodblockRows
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseBlock.h:273
↓ 2 callersFunctionblocked_lu
cvxpy/cvxcore/include/Eigen/src/LU/PartialPivLU_LAPACKE.h:47
↓ 2 callersFunctionblueNorm_impl
cvxpy/cvxcore/include/Eigen/src/Core/StableNorm.h:119
↓ 2 callersFunctionbuild_dim_reduced_expression
Build Expression that reconstructs full shape from a reduced-size leaf.
cvxpy/reductions/cvx_attr2constr.py:143
↓ 2 callersFunctionbuild_matrix
(*args)
cvxpy/cvxcore/python/cvxcore.py:992
↓ 2 callersMethodcache
Cache computed attributes if not present. Parameters ---------- keep_zeros: (optional) if True, store explicit zeros in A
cvxpy/reductions/utilities.py:113
↓ 2 callersFunctioncall_assignment_no_alias_no_transpose
cvxpy/cvxcore/include/Eigen/src/Core/AssignEvaluator.h:921
↓ 2 callersFunctioncall_restricted_packet_assignment_no_alias
cvxpy/cvxcore/include/Eigen/src/Core/AssignEvaluator.h:894
↓ 2 callersMethodcanonicalize_tree
Recursively canonicalize an Expression. Args: expr: Expression to canonicalize. canonicalize_params: Should constant
cvxpy/reductions/canonicalization.py:90
↓ 2 callersMethodcanonicalize_tree
Recursively canonicalize an Expression. Parameters ---------- expr : The expression tree to canonicalize. affine_abov
cvxpy/reductions/dnlp2smooth/dnlp2smooth.py:67
↓ 2 callersMethodcast
If expr_like is an Expression, return it. Otherwise, cast expr_like to a Constant. This is a wrapper around the misleadingly-named `
cvxpy/expressions/expression.py:708
↓ 2 callersFunctioncheck_index
cvxpy/cvxcore/python/cvxcore_wrap.cxx:5034
↓ 2 callersFunctioncheck_param_val
Wrapper on accessing a parameter. Parameters ---------- param : Parameter The parameter whose value is being accessed. Retur
cvxpy/lin_ops/lin_utils.py:777
↓ 2 callersFunctioncheck_that_malloc_is_allowed
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:148
↓ 2 callersMethodcoeff
cvxpy/cvxcore/include/Eigen/src/Core/TriangularMatrix.h:76
↓ 2 callersFunctioncol
cvxpy/cvxcore/include/Eigen/src/plugins/BlockMethods.h:1096
↓ 2 callersFunctioncolamd_c
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Eigen_Colamd.h:222
↓ 2 callersFunctioncolamd_r
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Eigen_Colamd.h:226
↓ 2 callersMethodcols
cvxpy/cvxcore/include/Eigen/src/UmfPackSupport/UmfPackSupport.h:336
↓ 2 callersMethodcols
* Number of columns */
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h:83
↓ 2 callersMethodcols
cvxpy/cvxcore/include/Eigen/src/Core/DiagonalMatrix.h:55
↓ 2 callersFunctioncompute_inverse_size2_helper
cvxpy/cvxcore/include/Eigen/src/LU/InverseImpl.h:75
↓ 2 callersFunctioncompute_inverse_size3_helper
cvxpy/cvxcore/include/Eigen/src/LU/InverseImpl.h:140
↓ 2 callersFunctionconj
()
cvxpy/expressions/cvxtypes.py:35
↓ 2 callersFunctionconservativeResize
cvxpy/cvxcore/include/Eigen/src/Core/DenseStorage.h:332
↓ 2 callersFunctionconstrain_cplex_infty
Limit values of vector v between +/- infinity as defined in the CPLEX package
cvxpy/reductions/solvers/qp_solvers/cplex_qpif.py:16
↓ 2 callersFunctionconstrain_gurobi_infty
Limit values of vector v between +/- infinity as defined in the Gurobi package
cvxpy/reductions/solvers/qp_solvers/gurobi_qpif.py:11
↓ 2 callersFunctioncontainer_owner_attribute
cvxpy/cvxcore/python/cvxcore_wrap.cxx:5507
↓ 2 callersMethodcontrol
(self, solver)
cvxpy/tests/test_qp_solvers.py:354
↓ 2 callersFunctionconvert_expr
Convert a CVXPY expression to a C diff engine expression. Args: expr: CVXPY expression tree node var_dict: {var_id: C variable ca
cvxpy/reductions/solvers/nlp_solvers/diff_engine/converters.py:85
↓ 2 callersFunctionconvex_attributes
Returns a list of the (constraint-generating) convex attributes present among the variables.
cvxpy/reductions/cvx_attr2constr.py:62
↓ 2 callersFunctioncreate_leq
Creates an internal less than or equal constraint. Parameters ---------- lh_term : LinOp The left-hand operator in the <= constra
cvxpy/lin_ops/lin_utils.py:642
↓ 2 callersMethoddata
\returns a const pointer to the column major internal matrix */
cvxpy/cvxcore/include/Eigen/src/Geometry/Transform.h:618
↓ 2 callersMethoddata
cvxpy/cvxcore/include/Eigen/src/Core/ArrayWrapper.h:72
↓ 2 callersFunctiondecompose
Recursively split dyadic tuples to produce a DAG. A node can have multiple parents. Interior nodes in the DAG represent second-order cones wh
cvxpy/utilities/power_tools.py:613
↓ 2 callersMethoddecr
Backward iterator method, very common in C++, but not required in Python
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3412
↓ 2 callersFunctiondeep_flatten
(x)
cvxpy/atoms/affine/reshape.py:166
↓ 2 callersFunctiondense_ldl_decomp
Bunch-Kaufman LDL of a dense symmetric matrix, with 2x2 blocks resolved. Returns ``(diag_vals, lu)`` such that ``P = lu @ diag(diag_vals) @ lu.T`
cvxpy/utilities/linalg.py:194
↓ 2 callersMethoddeterminant
\returns The determinant of the matrix. * * \sa absDeterminant(), logAbsDeterminant() */
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU.h:434
↓ 2 callersFunctiondict_mat_mul
What is multiplication? for mat in rh_map: multiply rh_map by mat to get new vector. stack the vectors. under key key1*key2 (constant * key = key)
cvxpy/cvxcore/src/Utils.cpp:52
↓ 2 callersFunctiondims_to_solver_dict
(cone_dims)
cvxpy/reductions/solvers/conic_solvers/ecos_conif.py:31
↓ 2 callersMethoddistance
Random access iterator methods, but not required in Python
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3418
↓ 2 callersMethoddiv
Given (A, b) in view and constant data d, return (A*(1/d), b*(1/d)). d is broadcasted along dimension 1 (columns) This functi
cvxpy/lin_ops/backends/base.py:751
↓ 2 callersFunctiondiv_ceil
cvxpy/cvxcore/include/Eigen/src/Core/util/Meta.h:778
↓ 2 callersFunctiondyad_completion
Return the dyadic completion of ``w``. Return ``w`` if ``w`` is already dyadic. We assume the input is a tuple of nonnegative Fract
cvxpy/utilities/power_tools.py:438
↓ 2 callersFunctionentr_canon
(expr, args, solver_context: SolverInfo | None = None)
cvxpy/reductions/dcp2cone/canonicalizers/entr_canon.py:25
↓ 2 callersMethodequivalent_forms_1
(self, solver)
cvxpy/tests/test_qp_solvers.py:453
↓ 2 callersMethodequivalent_forms_2
(self, solver)
cvxpy/tests/test_qp_solvers.py:471
↓ 2 callersMethodequivalent_forms_3
(self, solver)
cvxpy/tests/test_qp_solvers.py:494
↓ 2 callersMethodeval
\return the equivalent permutation matrix */
cvxpy/cvxcore/include/Eigen/src/Core/PermutationMatrix.h:568
↓ 2 callersMethodevalTo
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseProduct.h:41
↓ 2 callersMethodevalTo
cvxpy/cvxcore/include/Eigen/src/Core/ReturnByValue.h:60
↓ 2 callersMethodeval_hessian_vals_coo_lower_tri
Evaluate the lower-triangular Lagrangian Hessian and return its nonzero values. Computes obj_factor * hess_f + sum(lagrange[i] * hess_gi), wh
cvxpy/reductions/solvers/nlp_solvers/diff_engine/c_problem.py:118
↓ 2 callersFunctionexpand_and_reapply
(expr: Expression, real_part: Expression | None, imag_part: Expr
cvxpy/reductions/complex2real/canonicalizers/matrix_canon.py:58
↓ 2 callersFunctionexpand_cones
Expand unsupported cones via exact and approximate conversions. Parameters ---------- cones : set[type] Mutable set of cone const
cvxpy/reductions/solvers/solver.py:26
↓ 2 callersFunctionexpm1
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:653
↓ 2 callersMethodexpr_sign_assertions
Asserting sign methods are preserved across a & b (a function of a)
cvxpy/tests/test_canon_sign.py:37
↓ 2 callersMethodexprs
List of test expressions
cvxpy/tests/test_canon_sign.py:29
↓ 2 callersMethodextend_bounds
Extend the bounds vector to be length num_vars, filling with fill_value.
cvxpy/reductions/cone2cone/affine2direct.py:420
↓ 2 callersFunctionextract_bounds_tensor
Build a sparse tensor mapping param_vec -> bounds_vec. For each variable's bound slot, we create a LinOp expression whose canonical form, whe
cvxpy/reductions/matrix_stuffing.py:132
↓ 2 callersMethodextract_duals_from_solution_attribute
( self, solution_attribute, inverse_data )
cvxpy/reductions/solvers/qp_solvers/osqp_qpif.py:45
↓ 2 callersFunctionextract_lower_bounds
Coalesces lower bounds for the variables. Parameters ---------- variables: A list of the variables present in the problem. var_size:
cvxpy/reductions/matrix_stuffing.py:30
↓ 2 callersMethodextract_quadratic_coeffs
Extract per-variable P (quadratic) and q (linear) coefficient tensors. Expects quad-form atoms to already be replaced with placeholder
cvxpy/utilities/coeff_extractor.py:79
↓ 2 callersFunctionextract_upper_bounds
Coalesces upper bounds for the variables. Parameters ---------- variables: A list of the variables present in the problem. var_size:
cvxpy/reductions/matrix_stuffing.py:66
↓ 2 callersMethodfilter_licensed_solvers
Remove solvers that don't have valid licenses.
cvxpy/tests/test_qp_solvers.py:151
↓ 2 callersFunctionfind_non_prop_leaves
(expr, res=None)
cvxpy/utilities/debug_tools.py:38
↓ 2 callersFunctionfloat_to_bfloat16_rtne<false>
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/BFloat16.h:274
↓ 2 callersFunctionfloat_to_half_rtne
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/Half.h:345
↓ 2 callersFunctionfmod
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1806
↓ 2 callersFunctiongauss_legendre
Helper function for returning the weights and nodes for an n-point Gauss-Legendre quadrature on [0, 1]
cvxpy/reductions/cone2cone/approx.py:47
↓ 2 callersMethodgetI
(self, values)
cvxpy/cvxcore/python/cvxcore.py:239
↓ 2 callersMethodgetJ
(self, values)
cvxpy/cvxcore/python/cvxcore.py:242
↓ 2 callersMethodgetLen
(self)
cvxpy/cvxcore/python/cvxcore.py:233
↓ 2 callersMethodgetV
(self, values)
cvxpy/cvxcore/python/cvxcore.py:236
↓ 2 callersFunctionget_constr_expr
Returns the operator in the constraint.
cvxpy/lin_ops/lin_utils.py:610
↓ 2 callersMethodget_data
(self)
cvxpy/atoms/quad_form.py:195
↓ 2 callersMethodget_data_ndim
cvxpy/cvxcore/src/LinOp.hpp:88
↓ 2 callersMethodget_func
(self)
doc/sphinxext/docscrape.py:453
↓ 2 callersFunctionget_id_data
* Interface for the VARIABLE linOp to retrieve its variable ID. * * Parameters: linOp LIN of type VARIABLE with a variable ID in the * 0,0 c
cvxpy/cvxcore/src/LinOpOperations.cpp:304
← previousnext →1,301–1,400 of 13,519, ranked by callers