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
_wrap_new_IntVector__SWIG_0
cvxpy/cvxcore/python/cvxcore_wrap.cxx:9435
↓ 1 callers
Function
_wrap_new_IntVector__SWIG_1
cvxpy/cvxcore/python/cvxcore_wrap.cxx:9449
↓ 1 callers
Function
_wrap_new_IntVector__SWIG_2
cvxpy/cvxcore/python/cvxcore_wrap.cxx:9706
↓ 1 callers
Function
_wrap_new_IntVector__SWIG_3
cvxpy/cvxcore/python/cvxcore_wrap.cxx:9917
↓ 1 callers
Function
_wrap_new_LinOpVector__SWIG_0
cvxpy/cvxcore/python/cvxcore_wrap.cxx:18157
↓ 1 callers
Function
_wrap_new_LinOpVector__SWIG_1
cvxpy/cvxcore/python/cvxcore_wrap.cxx:18171
↓ 1 callers
Function
_wrap_new_LinOpVector__SWIG_2
cvxpy/cvxcore/python/cvxcore_wrap.cxx:18428
↓ 1 callers
Function
_wrap_new_LinOpVector__SWIG_3
cvxpy/cvxcore/python/cvxcore_wrap.cxx:18639
↓ 1 callers
Function
abs_canon
(expr, args, solver_context: SolverInfo | None = None)
cvxpy/reductions/eliminate_pwl/canonicalizers/abs_canon.py:23
↓ 1 callers
Function
absdiff
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1295
↓ 1 callers
Function
acc_tensor
(lh_ten, rh_ten)
cvxpy/cvxcore/python/cvxcore.py:216
↓ 1 callers
Function
acc_tensor
Accumulate right hand Tensor into left hand by addition.
cvxpy/cvxcore/src/Utils.cpp:120
↓ 1 callers
Function
accepts
(problem)
cvxpy/reductions/complex2real/complex2real.py:42
↓ 1 callers
Method
accepts
A problem is accepted if it is DGP.
cvxpy/reductions/dgp2dcp/dgp2dcp.py:62
↓ 1 callers
Method
accepts
A problem is accepted if it is a minimization and is DCP.
cvxpy/reductions/dcp2cone/dcp2cone.py:61
↓ 1 callers
Method
accepts
(self, problem)
cvxpy/reductions/solvers/qp_solvers/qp_solver.py:75
↓ 1 callers
Method
accepts
(self, problem)
cvxpy/reductions/eliminate_pwl/eliminate_pwl.py:29
↓ 1 callers
Function
acos
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/Half.h:710
↓ 1 callers
Function
acosh
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/BFloat16.h:548
↓ 1 callers
Method
addTo
cvxpy/cvxcore/include/Eigen/src/Core/EigenBase.h:77
↓ 1 callers
Function
add_matrix_to_vectors
function: add_matrix_to_vectors * * This function adds a matrix to our sparse matrix triplet * representation, by using eigen's sparse matrix itera
cvxpy/cvxcore/src/cvxcore.cpp:36
↓ 1 callers
Method
add_model_soc_constr
Adds SOC constraint to the model using the data from mat and vec. Return tuple contains (QConstr, list of Constr, and list of variables).
cvxpy/reductions/solvers/conic_solvers/scip_conif.py:436
↓ 1 callers
Method
add_model_soc_constr
Adds SOC constraint to the model using the data from mat and vec. Parameters ---------- model : GUROBI model The
cvxpy/reductions/solvers/conic_solvers/gurobi_conif.py:348
↓ 1 callers
Method
add_model_soc_constr
Adds SOC constraint to the model using the data from mat and vec. Parameters ---------- model : CPLEX model The p
cvxpy/reductions/solvers/conic_solvers/cplex_conif.py:440
↓ 1 callers
Method
add_pointer
add_pointer. * Adds an existing pointer to the map and returns the virtual pointer id. */
cvxpy/cvxcore/include/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h:331
↓ 1 callers
Method
add_tensors
Returns element-wise addition of two tensors of the same type.
cvxpy/lin_ops/backends/base.py:444
↓ 1 callers
Function
add_triplets
* Adds Triplets for slices starting from the current axis. * * Parameters: triplet list, slices, dimensions, axis, row counter. * * Returns: new r
cvxpy/cvxcore/src/LinOpOperations.cpp:694
↓ 1 callers
Method
adjoint
To use for operations with the adjoint of Q
cvxpy/cvxcore/include/Eigen/src/SparseQR/SparseQR.h:689
↓ 1 callers
Function
aligned_realloc
* \internal * \brief Reallocates an aligned block of memory. * \throws std::bad_alloc on allocation failure */
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:215
↓ 1 callers
Method
allocateA
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralMatrixMatrix.h:380
↓ 1 callers
Method
analyzePattern
Performs a symbolic decomposition on the sparcity of \a matrix. * * This function is particularly useful when solving for several problems
cvxpy/cvxcore/include/Eigen/src/SuperLUSupport/SuperLUSupport.h:524
↓ 1 callers
Method
analyzePattern
cvxpy/cvxcore/include/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h:223
↓ 1 callers
Method
angle
\returns the rotation angle */
cvxpy/cvxcore/include/Eigen/src/Geometry/Rotation2D.h:78
↓ 1 callers
Method
apply
Applies the reduction to a problem and returns an equivalent problem. Parameters ---------- problem : Problem The
cvxpy/reductions/reduction.py:269
↓ 1 callers
Method
applyThisOnTheRight
cvxpy/cvxcore/include/Eigen/src/Householder/HouseholderSequence.h:341
↓ 1 callers
Method
apply_param_jac
Multiplies by Jacobian of parameter mapping. Assumes delA is sparse. Returns: A dictionary param.id -> dparam
cvxpy/reductions/dcp2cone/cone_matrix_stuffing.py:264
↓ 1 callers
Method
apply_parameters
Returns A, b after applying parameters (and reshaping). Args: id_to_param_value: (optional) dict mapping parameter ids to values
cvxpy/problems/param_prob.py:32
↓ 1 callers
Method
apply_to_parameters
Apply 'func' to each slice of the parameter representation.
cvxpy/lin_ops/backends/base.py:480
↓ 1 callers
Function
applychan
(chan: np.ndarray, rho: cp.Variable, rep: str, dim: tuple[int, int])
cvxpy/tests/test_quantum_rel_entr.py:14
↓ 1 callers
Function
approx_error
Return the :math:`\\ell_\\infty` norm error from approximating the vector a_orig/sum(a_orig) with the weight vector w_approx. That i
cvxpy/utilities/power_tools.py:471
↓ 1 callers
Function
are_args_affine
(constraints)
cvxpy/reductions/utilities.py:52
↓ 1 callers
Function
asSluMatrix
cvxpy/cvxcore/include/Eigen/src/SuperLUSupport/SuperLUSupport.h:291
↓ 1 callers
Function
as_block_diag_linear_operator
Block diag of SciPy sparse matrices or linear operators.
cvxpy/reductions/solvers/conic_solvers/conic_solver.py:68
↓ 1 callers
Function
as_linear_operator
(linear_op)
cvxpy/reductions/solvers/conic_solvers/conic_solver.py:60
↓ 1 callers
Function
asin
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1685
↓ 1 callers
Function
asin
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/Half.h:707
↓ 1 callers
Function
asinh
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/BFloat16.h:545
↓ 1 callers
Method
assignDiagonal
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrix.h:927
↓ 1 callers
Function
assign_sparse_to_sparse
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseAssign.h:71
↓ 1 callers
Method
atInRange
Like at(), but the search is performed in the range [start,end) */
cvxpy/cvxcore/include/Eigen/src/SparseCore/CompressedStorage.h:159
↓ 1 callers
Function
atan
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1714
↓ 1 callers
Function
atan
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/BFloat16.h:532
↓ 1 callers
Function
atanh
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/BFloat16.h:551
↓ 1 callers
Method
atoms
A list of the atom types present amongst this atom's arguments.
cvxpy/atoms/atom.py:567
↓ 1 callers
Method
bar_data
(A_psd, c_psd, K)
cvxpy/reductions/solvers/conic_solvers/mosek_conif.py:163
↓ 1 callers
Function
bfloat16_to_float
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/BFloat16.h:464
↓ 1 callers
Function
bicgstab
cvxpy/cvxcore/include/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h:29
↓ 1 callers
Method
bool_prob
(self, solver)
cvxpy/tests/test_mip_vars.py:48
↓ 1 callers
Method
bool_socp
(self, solver)
cvxpy/tests/test_mip_vars.py:110
↓ 1 callers
Function
bottomRows
cvxpy/cvxcore/include/Eigen/src/plugins/BlockMethods.h:643
↓ 1 callers
Method
bounds_from_args
Returns bounds (lower, upper) of the expression based on argument bounds. Default implementation returns unbounded. Override in subclasses th
cvxpy/atoms/atom.py:116
↓ 1 callers
Function
broadcast_bounds
Broadcast bounds to a target shape. Handles sparse matrices: if a sparse bound already has the target shape, it is kept as-is; otherwise it i
cvxpy/utilities/bounds.py:659
↓ 1 callers
Function
build_exp_cb
()
cvxpy/reductions/solvers/conic_solvers/knitro_conif.py:96
↓ 1 callers
Function
build_lin_op_tree
Construct C++ LinOp tree from Python LinOp tree. Constructed C++ linOps are stored in the linPy_to_linC dict, which maps Python linOps to the
cvxpy/cvxcore/python/cppbackend.py:204
↓ 1 callers
Function
build_matrix
( id_to_col: dict, param_to_size: dict, param_to_col: dict, var_length: int, constr_length
cvxpy/cvxcore/python/cppbackend.py:34
↓ 1 callers
Function
build_param_dict
Build {param_id: C parameter capsule} mapping from InverseData.
cvxpy/reductions/solvers/nlp_solvers/diff_engine/helpers.py:92
↓ 1 callers
Function
build_pow3d_cb
()
cvxpy/reductions/solvers/conic_solvers/knitro_conif.py:157
↓ 1 callers
Function
build_var_dict
Build {var_id: C variable capsule} mapping from InverseData.
cvxpy/reductions/solvers/nlp_solvers/diff_engine/helpers.py:82
↓ 1 callers
Function
call_dense_assignment_loop
cvxpy/cvxcore/include/Eigen/src/Core/AssignEvaluator.h:769
↓ 1 callers
Method
can_solve
(self, problem_form)
cvxpy/tests/test_problem_form.py:181
↓ 1 callers
Method
canonicalize
Represent the atom as an affine objective and conic constraints.
cvxpy/atoms/atom.py:408
↓ 1 callers
Method
canonicalize
Returns the graph implementation of the object. Change the ids of all the opt_vars. Returns ------- A tuple of (
cvxpy/transforms/partial_optimize.py:311
↓ 1 callers
Method
canonicalize_expr
Canonicalize an expression, w.r.t. canonicalized arguments. Args: expr: Expression to canonicalize. args: Arguments t
cvxpy/reductions/canonicalization.py:129
↓ 1 callers
Method
canonicalize_expr
Canonicalize an expression, w.r.t. canonicalized arguments. Args: expr: Expression to canonicalize. args: Arguments t
cvxpy/reductions/dgp2dcp/dgp2dcp.py:184
↓ 1 callers
Method
canonicalize_expr
(self, expr, real_args, imag_args, real2imag, leaf_map)
cvxpy/reductions/complex2real/complex2real.py:375
↓ 1 callers
Method
canonicalize_expr
Canonicalize an expression, w.r.t. canonicalized arguments. Parameters ---------- expr : The expression tree to canonicalize.
cvxpy/reductions/dnlp2smooth/dnlp2smooth.py:90
↓ 1 callers
Method
canonicalize_expr
Canonicalize an expression, w.r.t. canonicalized arguments. Parameters ---------- expr : The expression tree to canonicalize.
cvxpy/reductions/dcp2cone/dcp2cone.py:202
↓ 1 callers
Function
ceil
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/Half.h:500
↓ 1 callers
Function
chain_add
Combine children with a balanced binary tree of adds. Tree depth is ceil(log2(N)) instead of N-1, which keeps the AD graph shallow when summi
cvxpy/reductions/solvers/nlp_solvers/diff_engine/helpers.py:36
↓ 1 callers
Function
check
cvxpy/cvxcore/python/cvxcore_wrap.cxx:4656
↓ 1 callers
Method
check_constraint_values
(self, x=None)
cvxpy/tests/nlp_tests/derivative_checker.py:70
↓ 1 callers
Method
check_gradient
Compare C-based gradient with numerical approximation using finite differences. The central-difference step is ~eps_machine**(1/3), which ba
cvxpy/tests/nlp_tests/derivative_checker.py:212
↓ 1 callers
Method
check_hessian
(self, x=None, duals=None, obj_factor=1.0, epsilon=1e-8)
cvxpy/tests/nlp_tests/derivative_checker.py:132
↓ 1 callers
Method
check_jacobian
(self, x=None, epsilon=1e-8)
cvxpy/tests/nlp_tests/derivative_checker.py:95
↓ 1 callers
Method
check_objective_value
Compare objective value from C implementation with Python implementation.
cvxpy/tests/nlp_tests/derivative_checker.py:190
↓ 1 callers
Function
check_solver
Can the solver solve the problem?
cvxpy/tests/test_constant_atoms.py:305
↓ 1 callers
Method
cholmodCommon
\returns a pointer to the SPQR workspace */
cvxpy/cvxcore/include/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h:240
↓ 1 callers
Method
cite
Return bibtex citation for the solver.
cvxpy/reductions/solvers/solver.py:135
↓ 1 callers
Method
coeff
cvxpy/cvxcore/include/Eigen/src/Core/Product.h:170
↓ 1 callers
Method
coeff
\sa MatrixBase::coeff() * \warning the coordinates must fit into the referenced triangular part */
cvxpy/cvxcore/include/Eigen/src/Core/SelfAdjointView.h:91
↓ 1 callers
Function
col
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseBlock.h:490
↓ 1 callers
Method
collapseDuplicates
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrix.h:1132
↓ 1 callers
Function
collect_column_names
Recursively collect variable names.
cvxpy/reductions/solvers/conic_solvers/highs_conif.py:69
↓ 1 callers
Method
cols
\returns the number of columns */
cvxpy/cvxcore/include/Eigen/src/Core/PermutationMatrix.h:94
↓ 1 callers
Method
compose_var_id_map
Compose variable ID mappings across all reductions. Returns a single ``{orig_var_id: [final_var_id, ...]}`` dict that accounts for ev
cvxpy/reductions/chain.py:101
↓ 1 callers
Method
compute
cvxpy/cvxcore/include/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h:141
↓ 1 callers
Method
compute
cvxpy/cvxcore/include/Eigen/src/SparseCholesky/SimplicialCholesky.h:202
↓ 1 callers
Method
computeRotationScaling
cvxpy/cvxcore/include/Eigen/src/Geometry/Transform.h:1098
↓ 1 callers
Function
compute_ordering
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Eigen_Colamd.h:342
↓ 1 callers
Function
concatenate
(arg_list, axis: int | None = 0)
cvxpy/atoms/affine/concatenate.py:27
← previous
next →
2,001–2,100 of 13,519, ranked by callers