-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy path__init__.py
More file actions
120 lines (117 loc) · 3.39 KB
/
__init__.py
File metadata and controls
120 lines (117 loc) · 3.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
"""
Copyright, the CVXPY authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from cvxpy.version import (
version as __version__,
) # cvxpy/version.py is auto-generated
from cvxpy.atoms import *
from cvxpy.constraints import (
Constraint as Constraint,
Cone as Cone,
PSD as PSD,
SOC as SOC,
NonPos as NonPos,
NonNeg as NonNeg,
Zero as Zero,
PowCone3D as PowCone3D,
PowCone3DApprox as PowCone3DApprox,
PowConeND as PowConeND,
ExpCone as ExpCone,
OpRelEntrConeQuad as OpRelEntrConeQuad,
RelEntrConeQuad as RelEntrConeQuad,
FiniteSet as FiniteSet,
)
from cvxpy.error import (
DCPError as DCPError,
DGPError as DGPError,
DPPError as DPPError,
SolverError as SolverError,
disable_warnings as disable_warnings,
enable_warnings as enable_warnings,
warnings_enabled as warnings_enabled,
)
from cvxpy.utilities.warn import (
CvxpyDeprecationWarning as CvxpyDeprecationWarning,
)
from cvxpy.expressions.constants import (
CallbackParam as CallbackParam,
Constant as Constant,
Parameter as Parameter,
)
from cvxpy.expressions.expression import Expression as Expression
from cvxpy.expressions.variable import Variable as Variable
from cvxpy.problems.objective import (
Maximize as Maximize,
Minimize as Minimize,
Objective as Objective,
)
from cvxpy.problems.problem import Problem as Problem
from cvxpy.transforms import (
linearize as linearize,
partial_optimize as partial_optimize,
suppfunc as suppfunc,
)
from cvxpy import logic as logic
from cvxpy.reductions.solvers.defines import installed_solvers as installed_solvers
from cvxpy.settings import (
CBC as CBC,
CLARABEL as CLARABEL,
CUCLARABEL as CUCLARABEL,
PDCS as PDCS,
COPT as COPT,
COSMO as COSMO,
CPLEX as CPLEX,
COO_CANON_BACKEND as COO_CANON_BACKEND,
CPP_CANON_BACKEND as CPP_CANON_BACKEND,
CUOPT as CUOPT,
CVXOPT as CVXOPT,
DIFFCP as DIFFCP,
ECOS as ECOS,
ECOS_BB as ECOS_BB,
GLOP as GLOP,
GLPK as GLPK,
GLPK_MI as GLPK_MI,
GUROBI as GUROBI,
INFEASIBLE as INFEASIBLE,
INFEASIBLE_INACCURATE as INFEASIBLE_INACCURATE,
MOSEK as MOSEK,
MOREAU as MOREAU,
MPAX as MPAX,
NAG as NAG,
OPTIMAL as OPTIMAL,
OPTIMAL_INACCURATE as OPTIMAL_INACCURATE,
OSQP as OSQP,
DAQP as DAQP,
PDLP as PDLP,
QOCO as QOCO,
PIQP as PIQP,
PROXQP as PROXQP,
QPALM as QPALM,
ROBUST_KKTSOLVER as ROBUST_KKTSOLVER,
RUST_CANON_BACKEND as RUST_CANON_BACKEND,
SCIP as SCIP,
SCIPY as SCIPY,
SCIPY_CANON_BACKEND as SCIPY_CANON_BACKEND,
SCS as SCS,
SDPA as SDPA,
SOLVER_ERROR as SOLVER_ERROR,
UNBOUNDED as UNBOUNDED,
UNBOUNDED_INACCURATE as UNBOUNDED_INACCURATE,
UNO as UNO,
USER_LIMIT as USER_LIMIT,
XPRESS as XPRESS,
HIGHS as HIGHS,
IPOPT as IPOPT,
KNITRO as KNITRO,
get_num_threads as get_num_threads,
set_num_threads as set_num_threads,
)