MCPcopy Create free account

hub / github.com/cvxpy/cvxpy / functions

Functions13,519 in github.com/cvxpy/cvxpy

↓ 1 callersFunctionget_mul_mat
* Return the coefficients for MUL (left multiplication): a NUM_BLOCKS * ROWS * by NUM_BLOCKS * COLS block diagonal matrix where each diagonal block i
cvxpy/cvxcore/src/LinOpOperations.cpp:904
↓ 1 callersFunctionget_neg_mat
* Return the coefficients for NEG: -I, where I is an identity of size m * n. * * Parameters: linOp with type NEG * * Returns: vector containing th
cvxpy/cvxcore/src/LinOpOperations.cpp:1080
↓ 1 callersFunctionget_param_coeffs
* Returns a Tensor with selector matrices * for the parameter entries. * * Parameters: PARAM Type LinOp LIN * * Returns: Tensor * */
cvxpy/cvxcore/src/LinOpOperations.cpp:1182
↓ 1 callersFunctionget_pr_author
Look up the GitHub username for a PR.
tools/release_notes.py:69
↓ 1 callersFunctionget_previous_release_branch
Infer the previous release branch from a tag like v1.8.0.
tools/release_notes.py:44
↓ 1 callersFunctionget_previous_release_tag
Infer the previous minor release tag from a tag like v1.8.0.
tools/release_notes.py:50
↓ 1 callersFunctionget_promote_mat
* Return the coefficients for PROMOTE: a column vector of size N with all * entries 1. Note this is treated as sparse for consistency of later * mul
cvxpy/cvxcore/src/LinOpOperations.cpp:1019
↓ 1 callersFunctionget_reshape_mat
* Return the coefficients for RESHAPE: a 1x1 matrix [1]. In Eigen, this * requires special case handling to multiply against an arbitrary m x n * ma
cvxpy/cvxcore/src/LinOpOperations.cpp:1037
↓ 1 callersFunctionget_rmul_mat
* Return the coefficients for RMUL (right multiplication): a ROWS * N * by COLS * N matrix given by the kronecker product between the * transpose of
cvxpy/cvxcore/src/LinOpOperations.cpp:801
↓ 1 callersFunctionget_root_cone_id
Get the constraint ID of the root cone.
cvxpy/reductions/cone2cone/cone_tree.py:88
↓ 1 callersMethodget_shape
(self)
cvxpy/cvxcore/python/cvxcore.py:161
↓ 1 callersMethodget_slice
(self)
cvxpy/cvxcore/python/cvxcore.py:167
↓ 1 callersFunctionget_spacing_matrix
Returns a sparse matrix LinOp that spaces out an expression. Parameters ---------- shape : tuple (rows in matrix, columns in matr
cvxpy/constraints/utilities.py:97
↓ 1 callersMethodget_stack_func
Returns a function that takes in a tensor, modifies the shape of the tensor by extending it to total_rows, and then shifts the entrie
cvxpy/lin_ops/backends/base.py:793
↓ 1 callersFunctionget_sum_coefficients
* Return horizontally stacked identity matrices. * * Parameters: LinOp with type SUM * * Returns: A vector of length N where each element is a 1x1
cvxpy/cvxcore/src/LinOpOperations.cpp:1137
↓ 1 callersFunctionget_sum_entries_mat
* Return the coefficient matrix for SUM_ENTRIES. A single row vector of 1's * of size 1 by (data.rows x data.cols). * * Parameters: LinOp with type
cvxpy/cvxcore/src/LinOpOperations.cpp:1121
↓ 1 callersFunctionget_trace_mat
* Return the coefficients for TRACE: A single row vector v^T \in R^(n^2) * with 1 if v_{i} corresponds to a diagonal entry (i.e. i * n + i) and 0 *
cvxpy/cvxcore/src/LinOpOperations.cpp:1099
↓ 1 callersFunctionget_transpose_mat
* Return the coefficients for TRANSPOSE: a ROWS*COLS by ROWS*COLS matrix * such that element ij in the vectorized matrix is mapped to ji after * mul
cvxpy/cvxcore/src/LinOpOperations.cpp:665
↓ 1 callersMethodget_type
(self)
cvxpy/cvxcore/python/cvxcore.py:155
↓ 1 callersFunctionget_upper_tri_mat
* Return the coefficients for UPPER_TRI: an ENTRIES by ROWS * COLS matrix * where the i, j entry in the original matrix has a 1 in row COUNT and * c
cvxpy/cvxcore/src/LinOpOperations.cpp:545
↓ 1 callersMethodget_variable_bounds
Get variable bounds for all variables. Uses the variable's get_bounds() method which handles bounds attributes, nonneg/nonpos
cvxpy/reductions/solvers/nlp_solvers/nlp_solver.py:122
↓ 1 callersFunctionget_variable_coeffs
* Return a map from the variable ID to the coefficient matrix for the * corresponding VARIABLE linOp, which is an identity matrix of total * linop s
cvxpy/cvxcore/src/LinOpOperations.cpp:1155
↓ 1 callersFunctionget_variable_type
Given an index n, and a set of data, return the type of a variable with the same index.
cvxpy/reductions/solvers/conic_solvers/scip_conif.py:503
↓ 1 callersFunctionget_version_info
()
setup/versioning.py:83
↓ 1 callersFunctionget_vstack_mat
* Return the coefficients for VSTACK. * * Parameters: linOp LIN with type VSTACK * Returns: vector of coefficient matrices for each argument. */
cvxpy/cvxcore/src/LinOpOperations.cpp:427
↓ 1 callersFunctiongit_version
()
setup/versioning.py:43
↓ 1 callersFunctiongm
(t, x, y)
cvxpy/utilities/power_tools.py:30
↓ 1 callersFunctiongrad
(_, cb: kn.CB_context, req: kn.KN_eval_request, res: kn.KN_eval_result, ctx: Ctx)
cvxpy/reductions/solvers/conic_solvers/knitro_conif.py:116
↓ 1 callersMethodgraph_implementation
Reduces the atom to an affine expression and list of constraints. Parameters ---------- arg_objs : list LinExpr f
cvxpy/atoms/atom.py:429
↓ 1 callersMethodgraph_implementation
Sum the linear expression's entries. Parameters ---------- arg_objs : list LinExpr for each argument.
cvxpy/atoms/affine/sum.py:108
↓ 1 callersFunctiongreedy_path
Finds the path by contracting the best pair until the input list is exhausted. The best pair is found by minimizing the tuple ``(-prod(in
cvxpy/utilities/einsum_utilities.py:354
↓ 1 callersFunctionhalf_to_float
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/Half.h:593
↓ 1 callersMethodhandle_options
Handle user-specified solver options. Parameters ---------- verbose : bool Enable verbose output solver_o
cvxpy/reductions/solvers/conic_solvers/moreau_conif.py:159
↓ 1 callersFunctionhandmade_aligned_free
\internal Frees memory allocated with handmade_aligned_malloc */
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:114
↓ 1 callersFunctionhandmade_aligned_realloc
\internal * \brief Reallocates aligned memory. * Since we know that our handmade version is based on std::malloc * we can use std::realloc to im
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:127
↓ 1 callersMethodhas_numerical_data
(self)
cvxpy/cvxcore/python/cvxcore.py:173
↓ 1 callersMethodhas_numerical_data
cvxpy/cvxcore/src/LinOp.hpp:81
↓ 1 callersMethodhouseholderQ
cvxpy/cvxcore/include/Eigen/src/QR/CompleteOrthogonalDecomposition.h:618
↓ 1 callersFunctionhouseholder_qr_inplace_unblocked
cvxpy/cvxcore/include/Eigen/src/QR/HouseholderQR.h:267
↓ 1 callersFunctioniff
Logical biconditional: x <=> y. Returns 1 if and only if x and y have the same value. Equivalent to ``Not(Xor(x, y))``. Parameters -
cvxpy/atoms/elementwise/logic.py:295
↓ 1 callersFunctionimag_ref
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1264
↓ 1 callersFunctionimplies
Logical implication: x => y. Returns 1 unless x = 1 and y = 0. Equivalent to ``Or(Not(x), y)``. Parameters ---------- x : Expressio
cvxpy/atoms/elementwise/logic.py:269
↓ 1 callersMethodimport_solver
Imports the solver.
cvxpy/reductions/solvers/solver.py:109
↓ 1 callersMethodimport_solver
Imports the solver (updates the set of supported constraints, if applicable).
cvxpy/reductions/solvers/conic_solvers/mosek_conif.py:131
↓ 1 callersFunctionindex_bounds
Index into bounds. Parameters ---------- lb, ub : np.ndarray Bounds to index. key : index Index/slice to apply.
cvxpy/utilities/bounds.py:729
↓ 1 callersMethodinfo
\brief Reports whether previous computation was successful. * * \returns \c Success if computation was successful, * \c Num
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU.h:299
↓ 1 callersMethodinfo
cvxpy/cvxcore/include/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h:255
↓ 1 callersMethodinfo
\brief Reports whether previous computation was successful. * * \returns \c Success if computation was successful, \c NoConvergence otherw
cvxpy/cvxcore/include/Eigen/src/Eigenvalues/ComplexEigenSolver.h:219
↓ 1 callersMethodinfo
\returns NumericalIssue if the input contains INF or NaN values or overflow occurred. Returns Success otherwise. */
cvxpy/cvxcore/include/Eigen/src/Eigenvalues/EigenSolver.h:281
↓ 1 callersMethodinitParallel
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:367
↓ 1 callersMethodinitParallelSession
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:219
↓ 1 callersMethodinit_id
(self, new_param_id, param_size)
cvxpy/cvxcore/python/cvxcore.py:230
↓ 1 callersFunctioninit_rows_cols
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Eigen_Colamd.h:501
↓ 1 callersFunctioninit_scoring
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Eigen_Colamd.h:717
↓ 1 callersFunctioninnerSize
\returns the inner size. * * \note For a vector, this is just the size. For a matrix (non-vector), this is the minor dimension * wit
cvxpy/cvxcore/include/Eigen/src/Core/DenseBase.h:234
↓ 1 callersMethodinnerStride
cvxpy/cvxcore/include/Eigen/src/Core/Ref.h:70
↓ 1 callersMethodinnerStride
cvxpy/cvxcore/include/Eigen/src/Core/DenseCoeffsBase.h:499
↓ 1 callersMethodinnerStride
cvxpy/cvxcore/include/Eigen/src/Core/TriangularMatrix.h:65
↓ 1 callersMethodinnerStride
cvxpy/cvxcore/include/Eigen/src/Core/ArrayWrapper.h:70
↓ 1 callersFunctioninstalled_solvers
List the installed solvers.
cvxpy/reductions/solvers/defines.py:120
↓ 1 callersMethodint_prob
(self, solver)
cvxpy/tests/test_mip_vars.py:84
↓ 1 callersMethodint_socp
(self, solver)
cvxpy/tests/test_mip_vars.py:100
↓ 1 callersMethodintern_signature
Return a compact key for a local structural signature.
cvxpy/reductions/subexpr_cache.py:74
↓ 1 callersMethodintersection
cvxpy/cvxcore/include/Eigen/src/Geometry/ParametrizedLine.h:215
↓ 1 callersMethodinvalidate
(self)
cvxpy/problems/problem.py:112
↓ 1 callersMethodinverse
\returns the inverse of the matrix of which *this is the LU decomposition. * * \warning The matrix being decomposed here is assumed to be
cvxpy/cvxcore/include/Eigen/src/LU/PartialPivLU.h:196
↓ 1 callersMethodinvert
Returns a solution to the original problem given the inverse_data. Parameters ---------- solution : Solution A so
cvxpy/reductions/reduction.py:289
↓ 1 callersMethodinvert
(self, solution, inverse_data)
cvxpy/reductions/eliminate_zero_sized.py:131
↓ 1 callersMethodinvert
(self, solution, inverse_data)
cvxpy/reductions/dgp2dcp/dgp2dcp.py:206
↓ 1 callersMethodinvert
Reconstruct solution with original SOC dual variables.
cvxpy/reductions/cone2cone/soc_dim3.py:479
↓ 1 callersMethodinvert
(self, solution, inverse_data)
cvxpy/reductions/complex2real/complex2real.py:282
↓ 1 callersMethodisApprox
\returns \c true if \c *this is approximately equal to \a other, within the precision * determined by \a prec. * * \sa MatrixBase::isAppro
cvxpy/cvxcore/include/Eigen/src/Geometry/AngleAxis.h:151
↓ 1 callersMethodis_atom_convex
Is the atom convex?
cvxpy/atoms/affine/kron.py:54
↓ 1 callersMethodis_atom_convex
Multiplication is convex (affine) in its arguments only if one of the arguments is constant.
cvxpy/atoms/affine/binary_operators.py:199
↓ 1 callersMethodis_atom_convex
Division is convex (affine) in its arguments only if the denominator is constant.
cvxpy/atoms/affine/binary_operators.py:521
↓ 1 callersMethodis_atom_convex
Is the atom convex?
cvxpy/atoms/affine/conv.py:72
↓ 1 callersMethodis_atom_convex
Is the atom convex?
cvxpy/atoms/affine/conv.py:173
↓ 1 callersMethodis_atom_log_log_convex
Is the atom log-log convex?
cvxpy/atoms/gmatmul.py:115
↓ 1 callersMethodis_atom_log_log_convex
Is the atom log-log convex?
cvxpy/atoms/elementwise/power.py:251
↓ 1 callersMethodis_atom_quasiconvex
(self)
cvxpy/atoms/affine/binary_operators.py:540
↓ 1 callersMethodis_complex
(self)
cvxpy/constraints/power.py:99
↓ 1 callersMethodis_complex
Is the Leaf complex valued?
cvxpy/constraints/constraint.py:161
↓ 1 callersMethodis_complex
(self)
cvxpy/atoms/suppfunc.py:60
↓ 1 callersMethodis_complex
Is the Leaf complex valued?
cvxpy/expressions/leaf.py:316
↓ 1 callersMethodis_complex
Is the Leaf complex valued?
cvxpy/expressions/expression.py:597
↓ 1 callersMethodis_constant
(self)
cvxpy/transforms/partial_optimize.py:130
↓ 1 callersMethodis_constant
(self)
cvxpy/cvxcore/python/cvxcore.py:158
↓ 1 callersMethodis_dcp
An SOC constraint is DCP if each of its arguments is affine.
cvxpy/constraints/second_order.py:157
↓ 1 callersMethodis_dcp
(self, dpp: bool = False)
cvxpy/constraints/power.py:112
↓ 1 callersMethodis_dcp
A FiniteSet constraint is DCP if the constrained expression is affine.
cvxpy/constraints/finite_set.py:81
↓ 1 callersMethodis_dcp
Checks whether the constraint is DCP. Returns ------- bool True if the constraint is DCP, False otherwise.
cvxpy/constraints/constraint.py:167
↓ 1 callersMethodis_dcp
(self, dpp: bool = False)
cvxpy/constraints/psd.py:155
↓ 1 callersMethodis_dcp
A zero constraint is DCP if its argument is affine.
cvxpy/constraints/zero.py:54
↓ 1 callersMethodis_dcp
An equality constraint is DCP if its argument is affine.
cvxpy/constraints/zero.py:133
↓ 1 callersMethodis_dcp
Check DCP compliance, including parameter-affine bounds.
cvxpy/expressions/variable.py:96
↓ 1 callersMethodis_decr
Is the composition non-increasing in argument idx?
cvxpy/atoms/quad_form.py:126
↓ 1 callersMethodis_dgp
(self, dpp: bool = False)
cvxpy/constraints/nonpos.py:234
↓ 1 callersMethodis_dgp
Checks whether the constraint is DGP. Returns ------- bool True if the constraint is DGP, False otherwise.
cvxpy/constraints/constraint.py:178
↓ 1 callersMethodis_dgp
(self, dpp: bool = False)
cvxpy/constraints/exponential.py:128
↓ 1 callersMethodis_dgp
(self, dpp: bool = False)
cvxpy/constraints/exponential.py:267
← previousnext →2,201–2,300 of 13,519, ranked by callers