Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cvxpy/cvxpy
/ functions
Functions
13,519 in github.com/cvxpy/cvxpy
⨍
Functions
13,519
◇
Types & classes
3,223
↳
Endpoints
49
↓ 1 callers
Function
get_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 callers
Function
get_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 callers
Function
get_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 callers
Function
get_pr_author
Look up the GitHub username for a PR.
tools/release_notes.py:69
↓ 1 callers
Function
get_previous_release_branch
Infer the previous release branch from a tag like v1.8.0.
tools/release_notes.py:44
↓ 1 callers
Function
get_previous_release_tag
Infer the previous minor release tag from a tag like v1.8.0.
tools/release_notes.py:50
↓ 1 callers
Function
get_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 callers
Function
get_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 callers
Function
get_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 callers
Function
get_root_cone_id
Get the constraint ID of the root cone.
cvxpy/reductions/cone2cone/cone_tree.py:88
↓ 1 callers
Method
get_shape
(self)
cvxpy/cvxcore/python/cvxcore.py:161
↓ 1 callers
Method
get_slice
(self)
cvxpy/cvxcore/python/cvxcore.py:167
↓ 1 callers
Function
get_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 callers
Method
get_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 callers
Function
get_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 callers
Function
get_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 callers
Function
get_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 callers
Function
get_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 callers
Method
get_type
(self)
cvxpy/cvxcore/python/cvxcore.py:155
↓ 1 callers
Function
get_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 callers
Method
get_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 callers
Function
get_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 callers
Function
get_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 callers
Function
get_version_info
()
setup/versioning.py:83
↓ 1 callers
Function
get_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 callers
Function
git_version
()
setup/versioning.py:43
↓ 1 callers
Function
gm
(t, x, y)
cvxpy/utilities/power_tools.py:30
↓ 1 callers
Function
grad
(_, 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 callers
Method
graph_implementation
Reduces the atom to an affine expression and list of constraints. Parameters ---------- arg_objs : list LinExpr f
cvxpy/atoms/atom.py:429
↓ 1 callers
Method
graph_implementation
Sum the linear expression's entries. Parameters ---------- arg_objs : list LinExpr for each argument.
cvxpy/atoms/affine/sum.py:108
↓ 1 callers
Function
greedy_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 callers
Function
half_to_float
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/Half.h:593
↓ 1 callers
Method
handle_options
Handle user-specified solver options. Parameters ---------- verbose : bool Enable verbose output solver_o
cvxpy/reductions/solvers/conic_solvers/moreau_conif.py:159
↓ 1 callers
Function
handmade_aligned_free
\internal Frees memory allocated with handmade_aligned_malloc */
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:114
↓ 1 callers
Function
handmade_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 callers
Method
has_numerical_data
(self)
cvxpy/cvxcore/python/cvxcore.py:173
↓ 1 callers
Method
has_numerical_data
cvxpy/cvxcore/src/LinOp.hpp:81
↓ 1 callers
Method
householderQ
cvxpy/cvxcore/include/Eigen/src/QR/CompleteOrthogonalDecomposition.h:618
↓ 1 callers
Function
householder_qr_inplace_unblocked
cvxpy/cvxcore/include/Eigen/src/QR/HouseholderQR.h:267
↓ 1 callers
Function
iff
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 callers
Function
imag_ref
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1264
↓ 1 callers
Function
implies
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 callers
Method
import_solver
Imports the solver.
cvxpy/reductions/solvers/solver.py:109
↓ 1 callers
Method
import_solver
Imports the solver (updates the set of supported constraints, if applicable).
cvxpy/reductions/solvers/conic_solvers/mosek_conif.py:131
↓ 1 callers
Function
index_bounds
Index into bounds. Parameters ---------- lb, ub : np.ndarray Bounds to index. key : index Index/slice to apply.
cvxpy/utilities/bounds.py:729
↓ 1 callers
Method
info
\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 callers
Method
info
cvxpy/cvxcore/include/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h:255
↓ 1 callers
Method
info
\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 callers
Method
info
\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 callers
Method
initParallel
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:367
↓ 1 callers
Method
initParallelSession
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:219
↓ 1 callers
Method
init_id
(self, new_param_id, param_size)
cvxpy/cvxcore/python/cvxcore.py:230
↓ 1 callers
Function
init_rows_cols
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Eigen_Colamd.h:501
↓ 1 callers
Function
init_scoring
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Eigen_Colamd.h:717
↓ 1 callers
Function
innerSize
\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 callers
Method
innerStride
cvxpy/cvxcore/include/Eigen/src/Core/Ref.h:70
↓ 1 callers
Method
innerStride
cvxpy/cvxcore/include/Eigen/src/Core/DenseCoeffsBase.h:499
↓ 1 callers
Method
innerStride
cvxpy/cvxcore/include/Eigen/src/Core/TriangularMatrix.h:65
↓ 1 callers
Method
innerStride
cvxpy/cvxcore/include/Eigen/src/Core/ArrayWrapper.h:70
↓ 1 callers
Function
installed_solvers
List the installed solvers.
cvxpy/reductions/solvers/defines.py:120
↓ 1 callers
Method
int_prob
(self, solver)
cvxpy/tests/test_mip_vars.py:84
↓ 1 callers
Method
int_socp
(self, solver)
cvxpy/tests/test_mip_vars.py:100
↓ 1 callers
Method
intern_signature
Return a compact key for a local structural signature.
cvxpy/reductions/subexpr_cache.py:74
↓ 1 callers
Method
intersection
cvxpy/cvxcore/include/Eigen/src/Geometry/ParametrizedLine.h:215
↓ 1 callers
Method
invalidate
(self)
cvxpy/problems/problem.py:112
↓ 1 callers
Method
inverse
\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 callers
Method
invert
Returns a solution to the original problem given the inverse_data. Parameters ---------- solution : Solution A so
cvxpy/reductions/reduction.py:289
↓ 1 callers
Method
invert
(self, solution, inverse_data)
cvxpy/reductions/eliminate_zero_sized.py:131
↓ 1 callers
Method
invert
(self, solution, inverse_data)
cvxpy/reductions/dgp2dcp/dgp2dcp.py:206
↓ 1 callers
Method
invert
Reconstruct solution with original SOC dual variables.
cvxpy/reductions/cone2cone/soc_dim3.py:479
↓ 1 callers
Method
invert
(self, solution, inverse_data)
cvxpy/reductions/complex2real/complex2real.py:282
↓ 1 callers
Method
isApprox
\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 callers
Method
is_atom_convex
Is the atom convex?
cvxpy/atoms/affine/kron.py:54
↓ 1 callers
Method
is_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 callers
Method
is_atom_convex
Division is convex (affine) in its arguments only if the denominator is constant.
cvxpy/atoms/affine/binary_operators.py:521
↓ 1 callers
Method
is_atom_convex
Is the atom convex?
cvxpy/atoms/affine/conv.py:72
↓ 1 callers
Method
is_atom_convex
Is the atom convex?
cvxpy/atoms/affine/conv.py:173
↓ 1 callers
Method
is_atom_log_log_convex
Is the atom log-log convex?
cvxpy/atoms/gmatmul.py:115
↓ 1 callers
Method
is_atom_log_log_convex
Is the atom log-log convex?
cvxpy/atoms/elementwise/power.py:251
↓ 1 callers
Method
is_atom_quasiconvex
(self)
cvxpy/atoms/affine/binary_operators.py:540
↓ 1 callers
Method
is_complex
(self)
cvxpy/constraints/power.py:99
↓ 1 callers
Method
is_complex
Is the Leaf complex valued?
cvxpy/constraints/constraint.py:161
↓ 1 callers
Method
is_complex
(self)
cvxpy/atoms/suppfunc.py:60
↓ 1 callers
Method
is_complex
Is the Leaf complex valued?
cvxpy/expressions/leaf.py:316
↓ 1 callers
Method
is_complex
Is the Leaf complex valued?
cvxpy/expressions/expression.py:597
↓ 1 callers
Method
is_constant
(self)
cvxpy/transforms/partial_optimize.py:130
↓ 1 callers
Method
is_constant
(self)
cvxpy/cvxcore/python/cvxcore.py:158
↓ 1 callers
Method
is_dcp
An SOC constraint is DCP if each of its arguments is affine.
cvxpy/constraints/second_order.py:157
↓ 1 callers
Method
is_dcp
(self, dpp: bool = False)
cvxpy/constraints/power.py:112
↓ 1 callers
Method
is_dcp
A FiniteSet constraint is DCP if the constrained expression is affine.
cvxpy/constraints/finite_set.py:81
↓ 1 callers
Method
is_dcp
Checks whether the constraint is DCP. Returns ------- bool True if the constraint is DCP, False otherwise.
cvxpy/constraints/constraint.py:167
↓ 1 callers
Method
is_dcp
(self, dpp: bool = False)
cvxpy/constraints/psd.py:155
↓ 1 callers
Method
is_dcp
A zero constraint is DCP if its argument is affine.
cvxpy/constraints/zero.py:54
↓ 1 callers
Method
is_dcp
An equality constraint is DCP if its argument is affine.
cvxpy/constraints/zero.py:133
↓ 1 callers
Method
is_dcp
Check DCP compliance, including parameter-affine bounds.
cvxpy/expressions/variable.py:96
↓ 1 callers
Method
is_decr
Is the composition non-increasing in argument idx?
cvxpy/atoms/quad_form.py:126
↓ 1 callers
Method
is_dgp
(self, dpp: bool = False)
cvxpy/constraints/nonpos.py:234
↓ 1 callers
Method
is_dgp
Checks whether the constraint is DGP. Returns ------- bool True if the constraint is DGP, False otherwise.
cvxpy/constraints/constraint.py:178
↓ 1 callers
Method
is_dgp
(self, dpp: bool = False)
cvxpy/constraints/exponential.py:128
↓ 1 callers
Method
is_dgp
(self, dpp: bool = False)
cvxpy/constraints/exponential.py:267
← previous
next →
2,201–2,300 of 13,519, ranked by callers