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
↓ 2 callers
Method
get_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 callers
Function
get_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 callers
Method
get_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 callers
Function
get_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 callers
Method
get_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 callers
Method
get_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 callers
Function
get_row_nnz
Return the number of nonzeros in row.
cvxpy/reductions/solvers/compr_matrix.py:23
↓ 2 callers
Function
get_type
Returns the cvxcore type corresponding to the type of linPy.
cvxpy/cvxcore/python/cppbackend.py:136
↓ 2 callers
Method
get_var_offsets
(variables)
cvxpy/reductions/inverse_data.py:46
↓ 2 callers
Method
get_x
(gamma_value)
cvxpy/tests/test_examples.py:197
↓ 2 callers
Function
group_constraints
Organize the constraints into a dictionary keyed by constraint names. Parameters --------- constraints : list of constraints Returns
cvxpy/reductions/utilities.py:57
↓ 2 callers
Method
handle_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 callers
Function
handmade_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 callers
Method
has_key
(self, key)
cvxpy/cvxcore/python/cvxcore.py:706
↓ 2 callers
Function
hermitian_canon
Canonicalize functions that take a Hermitian matrix.
cvxpy/reductions/complex2real/canonicalizers/matrix_canon.py:69
↓ 2 callers
Function
hide_solver_output
Set CPLEX verbosity level (either on or off).
cvxpy/reductions/solvers/conic_solvers/cplex_conif.py:65
↓ 2 callers
Method
householderU
cvxpy/cvxcore/include/Eigen/src/SVD/UpperBidiagonalization.h:70
↓ 2 callers
Method
householderV
cvxpy/cvxcore/include/Eigen/src/SVD/UpperBidiagonalization.h:76
↓ 2 callers
Method
huber_small
(self, solver, places=4)
cvxpy/tests/test_qp_solvers.py:416
↓ 2 callers
Method
incr
cvxpy/cvxcore/python/cvxcore_wrap.cxx:4785
↓ 2 callers
Method
index
(self, matrix, key)
cvxpy/interface/base_matrix_interface.py:85
↓ 2 callers
Method
index
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseDiagonalProduct.h:110
↓ 2 callers
Method
info
cvxpy/cvxcore/include/Eigen/src/SVD/SVDBase.h:236
↓ 2 callers
Method
init
cvxpy/cvxcore/include/Eigen/src/Core/Visitor.h:146
↓ 2 callers
Method
initFactorization
cvxpy/cvxcore/include/Eigen/src/SuperLUSupport/SuperLUSupport.h:391
↓ 2 callers
Function
init_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 callers
Method
init_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 callers
Method
init_id
Initialize TensorV/I/J for the given parameter.
cvxpy/cvxcore/src/ProblemData.hpp:36
↓ 2 callers
Method
init_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 callers
Method
inverse
cvxpy/cvxcore/include/Eigen/src/Geometry/Transform.h:1222
↓ 2 callers
Method
invert
Returns the solution to the original problem given the inverse_data.
cvxpy/reductions/solvers/nlp_solvers/uno_nlpif.py:70
↓ 2 callers
Method
is_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 callers
Method
is_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 callers
Method
is_atom_log_log_concave
Is the atom log-log concave?
cvxpy/atoms/max.py:108
↓ 2 callers
Method
is_atom_log_log_concave
Is the atom log-log concave?
cvxpy/atoms/atom.py:200
↓ 2 callers
Method
is_atom_log_log_convex
Is the atom log-log convex?
cvxpy/atoms/max.py:103
↓ 2 callers
Method
is_atom_log_log_convex
Is the atom log-log convex?
cvxpy/atoms/atom.py:195
↓ 2 callers
Method
is_atom_quasiconcave
Is the atom quasiconcave?
cvxpy/atoms/atom.py:210
↓ 2 callers
Method
is_atom_quasiconvex
Is the atom quasiconvex?
cvxpy/atoms/atom.py:205
↓ 2 callers
Method
is_complex
(self)
cvxpy/atoms/affine/wraps.py:39
↓ 2 callers
Method
is_concave
Is the expression concave?
cvxpy/transforms/partial_optimize.py:139
↓ 2 callers
Method
is_constant
(self)
cvxpy/expressions/variable.py:71
↓ 2 callers
Method
is_convex
Is the expression convex?
cvxpy/transforms/partial_optimize.py:133
↓ 2 callers
Method
is_dcp
A power cone constraint is DCP if each argument is affine.
cvxpy/constraints/power.py:285
↓ 2 callers
Method
is_dcp
A non-positive constraint is DCP if its argument is convex.
cvxpy/constraints/nonpos.py:220
↓ 2 callers
Method
is_dcp
The objective must be concave.
cvxpy/problems/objective.py:228
↓ 2 callers
Method
is_dead_principal
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Eigen_Colamd.h:171
↓ 2 callers
Method
is_decr
Is the composition non-increasing in argument idx?
cvxpy/atoms/affine/affine_atom.py:71
↓ 2 callers
Method
is_dgp
The objective must be log-log convex.
cvxpy/problems/objective.py:165
↓ 2 callers
Method
is_dgp
The objective must be log-log concave.
cvxpy/problems/objective.py:242
↓ 2 callers
Method
is_dnlp
The objective must be linearizable convex.
cvxpy/problems/objective.py:159
↓ 2 callers
Method
is_imag
Is the expression imaginary?
cvxpy/atoms/affine/binary_operators.py:97
↓ 2 callers
Method
is_incr
Is the composition non-decreasing in argument idx?
cvxpy/atoms/affine/affine_atom.py:65
↓ 2 callers
Method
is_linearizable_concave
Is the expression concave after linearizing all smooth subexpressions?
cvxpy/expressions/expression.py:376
↓ 2 callers
Method
is_linearizable_convex
Is the expression convex after linearizing all smooth subexpressions?
cvxpy/expressions/expression.py:370
↓ 2 callers
Function
is_malloc_allowed_impl
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:153
↓ 2 callers
Method
is_nonneg
Is the expression positive?
cvxpy/expressions/expression.py:554
↓ 2 callers
Method
is_nonpos
Is the expression negative?
cvxpy/expressions/expression.py:560
↓ 2 callers
Method
is_nsd
Is the expression a negative semidefinite matrix?
cvxpy/atoms/affine/binary_operators.py:414
↓ 2 callers
Method
is_param
(param: object)
cvxpy/reductions/solvers/conic_solvers/mosek_conif.py:685
↓ 2 callers
Method
is_psd
Is the expression a positive semidefinite matrix?
cvxpy/atoms/affine/binary_operators.py:408
↓ 2 callers
Method
is_quasilinear
(self)
cvxpy/expressions/expression.py:462
↓ 2 callers
Method
is_skew_symmetric
Is the expression skew-symmetric?
cvxpy/atoms/affine/transpose.py:77
↓ 2 callers
Function
is_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 callers
Method
is_symmetric
Is the expression symmetric?
cvxpy/atoms/affine/imag.py:48
↓ 2 callers
Method
is_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 callers
Function
issue826
()
cvxpy/tests/ram_limited.py:34
↓ 2 callers
Method
iterator
(self)
cvxpy/cvxcore/python/cvxcore.py:678
↓ 2 callers
Method
iteritems
(self)
cvxpy/cvxcore/python/cvxcore.py:697
↓ 2 callers
Method
key_iterator
(self)
cvxpy/cvxcore/python/cvxcore.py:721
↓ 2 callers
Function
kn_rm_inf
Convert -inf to -kn.KN_INFINITY and inf to kn.KN_INFINITY.
cvxpy/reductions/solvers/conic_solvers/knitro_conif.py:46
↓ 2 callers
Function
kn_rm_inf
Convert -inf to -kn.KN_INFINITY and inf to kn.KN_INFINITY.
cvxpy/reductions/solvers/qp_solvers/knitro_qpif.py:44
↓ 2 callers
Function
log_canon
(expr, args)
cvxpy/reductions/dgp2dcp/canonicalizers/log_canon.py:4
↓ 2 callers
Function
log_canon
(expr, args, solver_context: SolverInfo | None = None)
cvxpy/reductions/dcp2cone/canonicalizers/log_canon.py:26
↓ 2 callers
Function
lower_equality
(equality)
cvxpy/reductions/utilities.py:35
↓ 2 callers
Function
lower_ineq_to_nonneg
(inequality)
cvxpy/reductions/utilities.py:29
↓ 2 callers
Method
makeHouseholder
cvxpy/cvxcore/include/Eigen/src/Householder/Householder.h:66
↓ 2 callers
Function
make_block_householder_triangular_factor
cvxpy/cvxcore/include/Eigen/src/Householder/BlockHouseholder.h:51
↓ 2 callers
Function
make_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 callers
Function
make_smooth_range_dom_canon
Wrapper for canonicalizers whose domain is a bounded interval.
cvxpy/reductions/dnlp2smooth/canonicalizers/common_smooth_canons.py:63
↓ 2 callers
Method
make_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 callers
Method
make_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 callers
Method
mat_to_list
Convert a numpy matrix to a list.
cvxpy/tests/base_test.py:41
↓ 2 callers
Function
mat_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 callers
Function
matmul
Matrix multiplication.
cvxpy/atoms/affine/binary_operators.py:116
↓ 2 callers
Function
matmul_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 callers
Method
matrixL
\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 callers
Method
matrixR
\returns the sparse triangular factor R. It is a sparse matrix */
cvxpy/cvxcore/include/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h:201
↓ 2 callers
Method
matrixZ
\returns the matrix \b Z. */
cvxpy/cvxcore/include/Eigen/src/QR/CompleteOrthogonalDecomposition.h:161
↓ 2 callers
Method
maxPivot
\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 callers
Function
max_canon
(expr, args, solver_context: SolverInfo | None = None)
cvxpy/reductions/eliminate_pwl/canonicalizers/max_canon.py:23
↓ 2 callers
Method
maximize_problem
(self, solver)
cvxpy/tests/test_qp_solvers.py:257
↓ 2 callers
Function
maximum_canon
(expr, args, solver_context: SolverInfo | None = None)
cvxpy/reductions/eliminate_pwl/canonicalizers/maximum_canon.py:23
↓ 2 callers
Method
mem_expand
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU_panel_dfs.h:53
↓ 2 callers
Function
minimum_degree_ordering
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Amd.h:84
↓ 2 callers
Function
mul_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 callers
Function
mulexpression_canon
(expr, args)
cvxpy/reductions/dgp2dcp/canonicalizers/mulexpression_canon.py:24
↓ 2 callers
Method
name
(self)
cvxpy/atoms/affine/unary_operators.py:35
↓ 2 callers
Method
name
str : The string representation of the expression.
cvxpy/expressions/expression.py:198
↓ 2 callers
Method
name
The value of the constant as a string.
cvxpy/expressions/constants/constant.py:84
← previous
next →
1,401–1,500 of 13,519, ranked by callers