
    bi                         d Z daddZddZdefdZ G d de      Z G d	 d
e      Z G d de      Z	 G d de      Z
 G d de      Z G d de      Zy)a,  
Copyright 2013 Steven Diamond

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.
FreturnNc                      da y )NFWARN     F/home/cdr/jupyterlab/.venv/lib/python3.12/site-packages/cvxpy/error.pydisable_warningsr	      s    Dr   c                      da y )NTr   r   r   r   enable_warningsr      s    Dr   c                      t         S )Nr   r   r   r   warnings_enabledr      s    Kr   c                       e Zd ZdZy)SolverErrorzFError thrown when a solver encounters an error solving a problem.
    N__name__
__module____qualname____doc__r   r   r   r   r   #       r   r   c                       e Zd ZdZy)DCPErrorz%Error thrown for DCP violations.
    Nr   r   r   r   r   r   (   r   r   r   c                       e Zd ZdZy)DPPErrorz%Error thrown for DPP violations.
    Nr   r   r   r   r   r   -   r   r   r   c                       e Zd ZdZy)DGPErrorz%Error thrown for DGP violations.
    Nr   r   r   r   r   r   2   r   r   r   c                       e Zd ZdZy)	DQCPErrorz&Error thrown for DQCP violations.
    Nr   r   r   r   r   r   7   r   r   r   c                       e Zd ZdZy)ParameterErrorzFError thrown for accessing the value of an unspecified parameter.
    Nr   r   r   r   r   r   <   r   r   r   )r   N)r   r   r	   r   boolr   	Exceptionr   r   r   r   r   r   r   r   r   <module>r"      so   " 

$ ) 
y 
y 
y 
	 
Y r   