Ë
    Ýbi˜  ã                   ó.   — d Z ddlmc mZ  G d„ d«      Zy)aB  
Copyright 2016 Jaehyun Park, 2017 Robin Verschueren

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.
é    Nc                   ó(   — e Zd ZdZdd„Zed„ «       Zy)ÚInverseDataz*Stores data useful for solution retrieval.Nc                 óâ  — |j                  «       }t        j                  |«      \  | _        | _        | _        | _        i | _        t        j                  di| _
        i | _        d}|j                  «       D ]p  }|j                  | j                  |j                  <   |j                  | j                  |j                  <   || j                  |j                  <   ||j                  z  }Œr || j                  t        j                  <   |D ci c]  }|j                  |“Œ c}| _        |j"                  D ci c]  }|j                  |“Œ c}| _        t'        «       | _        d | _        y c c}w c c}w )Né   r   )Ú	variablesr   Úget_var_offsetsÚid_mapÚvar_offsetsÚx_lengthÚ
var_shapesÚparam_shapesÚloÚCONSTANT_IDÚparam_to_sizeÚparam_id_mapÚ
parametersÚshapeÚidÚsizeÚid2varÚconstraintsÚid2consÚdictÚcons_id_map)ÚselfÚproblemÚvarisÚoffsetÚparamÚvarÚconss          úX/home/cdr/jupyterlab/.venv/lib/python3.12/site-packages/cvxpy/reductions/inverse_data.pyÚ__init__zInverseData.__init__   s1  € Ø×!Ñ!Ó#ˆä×'Ñ'¨Ó.ñ 	FˆŒTÔ% t¤}°d´oð ˆÔä Ÿn™n¨aÐ0ˆÔØˆÔØˆØ×'Ñ'Ó)ò 	!ˆEØ*/¯+©+ˆD×Ñ˜eŸh™hÑ'Ø+0¯:©:ˆD×Ñ˜uŸx™xÑ(Ø*0ˆD×Ñ˜eŸh™hÑ'Øe—j‘jÑ ‰Fð		!ð
 -3ˆ×Ñœ"Ÿ.™.Ñ)à.3Ö4 ss—v‘v˜s‘{Ò4ˆŒØ29×2EÑ2EÖF¨$˜Ÿ™ ™ÒFˆŒÜ›6ˆÔØˆÕùò 5ùÚFs   Ä
E'Ä4E,c                 óÐ   — i }i }i }d}| D ]T  }|j                   ||j                  <   |||j                  <   ||j                  f||j                  <   ||j                  z  }ŒV ||||fS )Nr   )r   r   r   )r   r   r
   r	   Úvert_offsetÚxs         r"   r   zInverseData.get_var_offsets-   sz   € àˆ
ØˆØˆØˆØò 	"ˆAØ Ÿw™wˆJq—t‘tÑØ +ˆK˜Ÿ™ÑØ'¨¯©Ð0ˆF1—4‘4‰LØ˜1Ÿ6™6Ñ!‰Kð		"ð
 ˜ [°*Ð=Ð=ó    )ÚreturnN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r#   Ústaticmethodr   © r'   r"   r   r      s   „ Ù4ó ð, ñ
>ó ñ
>r'   r   )r,   Úcvxpy.lin_ops.lin_opÚlin_opsÚlin_opr   r   r.   r'   r"   ú<module>r2      s   ðñ÷  "Ð !÷$>ò $>r'   