mechmotum / cyipopt

Cython interface for the interior point optimzer IPOPT
Eclipse Public License 2.0
227 stars 54 forks source link

Ubuntu 22.04 - libipopt.so.3 wrong location #251

Closed LiborKudela closed 1 week ago

LiborKudela commented 4 months ago

Hello,

I have installed IPOPT with HSL from source.

command pkg-config --libs --cflags ipopt returns this: -I/usr/local/include/coin-or -I/usr/local/include/coin-or/hsl -L/usr/local/lib -lipopt

Then I wanted to install cyipopt wrapper using: python3 -m pip install cyipopt

But when I try to import the module with python3 -c "import cyipopt" I get this error:

Traceback (most recent call last):
  File "/home/numlab/Projects/CurrentProjects/EcoStor/Optimisation.py", line 1, in <module>
    import cyipopt
  File "/home/numlab/.local/lib/python3.10/site-packages/cyipopt/__init__.py", line 12, in <module>
    from ipopt_wrapper import *
ImportError: libipopt.so.3: cannot open shared object file: No such file or directory

So naturally I tried to look up the file libipopt.so.3. This is result of ls -la in /usr/local/lib directory of my system:

total 16012
drwxr-xr-x  5 root root    4096 dub 19 18:19 .
drwxr-xr-x 10 root root    4096 kvě  4  2023 ..
-rw-r--r--  1 root root 4541698 dub 19 16:09 libcoinhsl.a
-rwxr-xr-x  1 root root    1259 dub 19 18:10 libcoinhsl.la
lrwxrwxrwx  1 root root      19 dub 19 18:10 libcoinhsl.so -> libcoinhsl.so.2.2.3
lrwxrwxrwx  1 root root      19 dub 19 16:09 libcoinhsl.so.0 -> libcoinhsl.so.0.0.0
-rwxr-xr-x  1 root root 3405008 dub 19 16:09 libcoinhsl.so.0.0.0
lrwxrwxrwx  1 root root      19 dub 19 18:10 libcoinhsl.so.2 -> libcoinhsl.so.2.2.3
-rwxr-xr-x  1 root root 2363688 dub 19 18:10 libcoinhsl.so.2.2.3
-rwxr-xr-x  1 root root    1051 dub 19 18:19 libipopt.la
lrwxrwxrwx  1 root root      19 dub 19 18:19 libipopt.so -> libipopt.so.3.14.15
lrwxrwxrwx  1 root root      19 dub 19 18:19 libipopt.so.3 -> libipopt.so.3.14.15
-rwxr-xr-x  1 root root 2719272 dub 19 18:19 libipopt.so.3.14.15
-rw-r--r--  1 root root 1922048 dub 19 16:09 libmetis.a
-rwxr-xr-x  1 root root     946 dub 19 16:09 libmetis.la
lrwxrwxrwx  1 root root      17 dub 19 16:09 libmetis.so -> libmetis.so.0.0.0
lrwxrwxrwx  1 root root      17 dub 19 16:09 libmetis.so.0 -> libmetis.so.0.0.0
-rwxr-xr-x  1 root root 1150598 dub 19 16:09 libmetis.so.0.0.0
-rwxr-xr-x  1 root root    1084 dub 19 18:19 libsipopt.la
lrwxrwxrwx  1 root root      20 dub 19 18:19 libsipopt.so -> libsipopt.so.3.14.15
lrwxrwxrwx  1 root root      20 dub 19 18:19 libsipopt.so.3 -> libsipopt.so.3.14.15
-rwxr-xr-x  1 root root  242344 dub 19 18:19 libsipopt.so.3.14.15
drwxr-xr-x  3 root root    4096 pro 14 11:02 node_modules
drwxr-xr-x  2 root root    4096 dub 19 18:19 pkgconfig
drwxr-xr-x  3 root root    4096 kvě  4  2023 python3.10

So the file (symlink) exists, but I do not understand why it cannot be loaded by the ipopt_wrapper. What am I doing wrong? Did I install IPOPT with wrong --prefix? How can I debug this?

Thank you, for any reply

LiborKudela commented 4 months ago

I might have just solve it by running sudo ldconfig

moorepants commented 4 months ago

If pkg-config picks up your installed ipopt, then cyipopt should also pick it up and properly link it when built. Can you paste the output of python3 -m pip install cyipopt?

LiborKudela commented 4 months ago

Sure,

python3 -m pip install cyipopt now returns:

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: cyipopt in ./.local/lib/python3.10/site-packages (1.4.1)
Requirement already satisfied: numpy>=1.21.5 in ./.local/lib/python3.10/site-packages (from cyipopt) (1.26.1)

When I first removed it with python3 -m pip uninstall cyipopt and then installed again with python3 -m pip install cyipopt --no-cache, the output is:

Defaulting to user installation because normal site-packages is not writeable
Collecting cyipopt
  Downloading cyipopt-1.4.1.tar.gz (67 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.5/67.5 kB 3.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.21.5 in ./.local/lib/python3.10/site-packages (from cyipopt) (1.26.1)
Building wheels for collected packages: cyipopt
  Building wheel for cyipopt (pyproject.toml) ... done
  Created wheel for cyipopt: filename=cyipopt-1.4.1-cp310-cp310-linux_x86_64.whl size=704375 sha256=41d0c8627b3234ff3d5efcdc4d5308908d1e83afeb40e5ab4cdd4eeada134151
  Stored in directory: /tmp/pip-ephem-wheel-cache-45hfu6kr/wheels/9c/3f/7a/e03e00da2aee50b8219e2bec3176e381bc41303dbe4ad1118a
Successfully built cyipopt
Installing collected packages: cyipopt
Successfully installed cyipopt-1.4.1

After this the python3 -c "import cyipopt" works! It did not work before, I had to run sudo ldconfig otherwise it was not able to link to the libioopt.so.3.

moorepants commented 4 months ago

I would expect to see Cython compilation output, but that is not present.

LiborKudela commented 4 months ago

Well, I can force a lot of output with pip3 install cyipopt --force-reinstal --no-cache --no-binary :all --verbose I am not sure what should I look for specifically..

The output is:

Using pip 24.0 from /home/numlab/.local/lib/python3.10/site-packages/pip (python 3.10)
Defaulting to user installation because normal site-packages is not writeable
Collecting cyipopt
  Downloading cyipopt-1.4.1.tar.gz (67 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.5/67.5 kB 3.7 MB/s eta 0:00:00
  Running command pip subprocess to install build dependencies
  Collecting cython>=0.29.28
    Using cached Cython-3.0.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
  Collecting oldest-supported-numpy
    Using cached oldest_supported_numpy-2023.12.21-py3-none-any.whl.metadata (9.8 kB)
  Collecting setuptools>=44.1.1
    Using cached setuptools-69.5.1-py3-none-any.whl.metadata (6.2 kB)
  Collecting numpy==1.21.6 (from oldest-supported-numpy)
    Using cached numpy-1.21.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
  Using cached Cython-3.0.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB)
  Using cached oldest_supported_numpy-2023.12.21-py3-none-any.whl (4.9 kB)
  Using cached numpy-1.21.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.9 MB)
  Using cached setuptools-69.5.1-py3-none-any.whl (894 kB)
  Installing collected packages: setuptools, numpy, cython, oldest-supported-numpy
  ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
  viskex 0.0.dev1 requires trame-vtk, which is not installed.
  fenicsx-plotly 0.3.0 requires ipywidgets==7.7.2, but you have ipywidgets 8.1.1 which is incompatible.
  itkwidgets 0.32.6 requires ipydatawidgets<4.3.3,>=4.0.1, but you have ipydatawidgets 4.3.5 which is incompatible.
  itkwidgets 0.32.6 requires ipywidgets<8.0.0, but you have ipywidgets 8.1.1 which is incompatible.
  itkwidgets 0.32.6 requires notebook<6.5.0, but you have notebook 7.0.6 which is incompatible.
  itkwidgets 0.32.6 requires traitlets<5.7.0, but you have traitlets 5.13.0 which is incompatible.
  numba 0.58.1 requires numpy<1.27,>=1.22, but you have numpy 1.21.6 which is incompatible.
  pandas 2.1.2 requires numpy<2,>=1.22.4; python_version < "3.11", but you have numpy 1.21.6 which is incompatible.
  pomegranate 1.0.3 requires numpy>=1.22.2, but you have numpy 1.21.6 which is incompatible.
  Successfully installed cython-3.0.10 numpy-1.21.6 oldest-supported-numpy-2023.12.21 setuptools-69.5.1
  Installing build dependencies ... done
  Running command Getting requirements to build wheel
  <string>:27: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
  !!

          ********************************************************************************
          Requirements should be satisfied by a PEP 517 installer.
          If you are using pip, you can try `pip install --use-pep517`.
          ********************************************************************************

  !!
  WARNING: The wheel package is not available.
  Using Ipopt found with pkg-config.
  Getting requirements to build wheel ... done
  Running command pip subprocess to install backend dependencies
  Collecting wheel
    Using cached wheel-0.43.0-py3-none-any.whl.metadata (2.2 kB)
  Using cached wheel-0.43.0-py3-none-any.whl (65 kB)
  Installing collected packages: wheel
  Successfully installed wheel-0.43.0
  Installing backend dependencies ... done
  Running command Preparing metadata (pyproject.toml)
  <string>:27: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
  !!

          ********************************************************************************
          Requirements should be satisfied by a PEP 517 installer.
          If you are using pip, you can try `pip install --use-pep517`.
          ********************************************************************************

  !!
  Using Ipopt found with pkg-config.
  running dist_info
  creating /tmp/pip-modern-metadata-022b5jio/cyipopt.egg-info
  writing /tmp/pip-modern-metadata-022b5jio/cyipopt.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-modern-metadata-022b5jio/cyipopt.egg-info/dependency_links.txt
  writing requirements to /tmp/pip-modern-metadata-022b5jio/cyipopt.egg-info/requires.txt
  writing top-level names to /tmp/pip-modern-metadata-022b5jio/cyipopt.egg-info/top_level.txt
  writing manifest file '/tmp/pip-modern-metadata-022b5jio/cyipopt.egg-info/SOURCES.txt'
  reading manifest file '/tmp/pip-modern-metadata-022b5jio/cyipopt.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.py' under directory 'tests'
  warning: no previously-included files found matching 'cyipopt/tests/unit/test_scipy_ipopt_from_scipy.py'
  no previously-included directories found matching 'include*'
  no previously-included directories found matching 'lib*'
  adding license file 'LICENSE'
  adding license file 'AUTHORS'
  writing manifest file '/tmp/pip-modern-metadata-022b5jio/cyipopt.egg-info/SOURCES.txt'
  creating '/tmp/pip-modern-metadata-022b5jio/cyipopt-1.4.1.dist-info'
  Preparing metadata (pyproject.toml) ... done
Collecting numpy>=1.21.5 (from cyipopt)
  Obtaining dependency information for numpy>=1.21.5 from https://files.pythonhosted.org/packages/4b/d7/ecf66c1cd12dc28b4040b15ab4d17b773b87fa9d29ca16125de01adb36cd/numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Downloading numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.0/61.0 kB 38.9 MB/s eta 0:00:00
Downloading numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 116.1 MB/s eta 0:00:00
Building wheels for collected packages: cyipopt
  Running command Building wheel for cyipopt (pyproject.toml)
  <string>:27: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
  !!

          ********************************************************************************
          Requirements should be satisfied by a PEP 517 installer.
          If you are using pip, you can try `pip install --use-pep517`.
          ********************************************************************************

  !!
  Using Ipopt found with pkg-config.
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-cpython-310
  creating build/lib.linux-x86_64-cpython-310/cyipopt
  copying cyipopt/__init__.py -> build/lib.linux-x86_64-cpython-310/cyipopt
  copying cyipopt/version.py -> build/lib.linux-x86_64-cpython-310/cyipopt
  copying cyipopt/exceptions.py -> build/lib.linux-x86_64-cpython-310/cyipopt
  copying cyipopt/utils.py -> build/lib.linux-x86_64-cpython-310/cyipopt
  copying cyipopt/scipy_interface.py -> build/lib.linux-x86_64-cpython-310/cyipopt
  copying cyipopt/ipopt_wrapper.py -> build/lib.linux-x86_64-cpython-310/cyipopt
  creating build/lib.linux-x86_64-cpython-310/ipopt
  copying ipopt/__init__.py -> build/lib.linux-x86_64-cpython-310/ipopt
  running egg_info
  writing cyipopt.egg-info/PKG-INFO
  writing dependency_links to cyipopt.egg-info/dependency_links.txt
  writing requirements to cyipopt.egg-info/requires.txt
  writing top-level names to cyipopt.egg-info/top_level.txt
  reading manifest file 'cyipopt.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.py' under directory 'tests'
  warning: no previously-included files found matching 'cyipopt/tests/unit/test_scipy_ipopt_from_scipy.py'
  no previously-included directories found matching 'include*'
  no previously-included directories found matching 'lib*'
  adding license file 'LICENSE'
  adding license file 'AUTHORS'
  writing manifest file 'cyipopt.egg-info/SOURCES.txt'
  /tmp/pip-build-env-bky9xsoy/overlay/local/lib/python3.10/dist-packages/setuptools/command/build_py.py:207: _Warning: Package 'cyipopt.cython' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'cyipopt.cython' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'cyipopt.cython' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'cyipopt.cython' to be distributed and are
          already explicitly excluding 'cyipopt.cython' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  /tmp/pip-build-env-bky9xsoy/overlay/local/lib/python3.10/dist-packages/setuptools/command/build_py.py:207: _Warning: Package 'cyipopt.tests' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'cyipopt.tests' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'cyipopt.tests' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'cyipopt.tests' to be distributed and are
          already explicitly excluding 'cyipopt.tests' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  /tmp/pip-build-env-bky9xsoy/overlay/local/lib/python3.10/dist-packages/setuptools/command/build_py.py:207: _Warning: Package 'cyipopt.tests.integration' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'cyipopt.tests.integration' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'cyipopt.tests.integration' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'cyipopt.tests.integration' to be distributed and are
          already explicitly excluding 'cyipopt.tests.integration' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  /tmp/pip-build-env-bky9xsoy/overlay/local/lib/python3.10/dist-packages/setuptools/command/build_py.py:207: _Warning: Package 'cyipopt.tests.unit' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'cyipopt.tests.unit' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'cyipopt.tests.unit' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'cyipopt.tests.unit' to be distributed and are
          already explicitly excluding 'cyipopt.tests.unit' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  creating build/lib.linux-x86_64-cpython-310/cyipopt/cython
  copying cyipopt/cython/ipopt.pxd -> build/lib.linux-x86_64-cpython-310/cyipopt/cython
  copying cyipopt/cython/ipopt_wrapper.pyx -> build/lib.linux-x86_64-cpython-310/cyipopt/cython
  creating build/lib.linux-x86_64-cpython-310/cyipopt/tests
  copying cyipopt/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests
  copying cyipopt/tests/conftest.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests
  creating build/lib.linux-x86_64-cpython-310/cyipopt/tests/integration
  copying cyipopt/tests/integration/__init__.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/integration
  copying cyipopt/tests/integration/test_hs071.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/integration
  copying cyipopt/tests/integration/test_lasso.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/integration
  copying cyipopt/tests/integration/test_rosen.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/integration
  creating build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit
  copying cyipopt/tests/unit/__init__.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit
  copying cyipopt/tests/unit/test_defaults.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit
  copying cyipopt/tests/unit/test_deprecations.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit
  copying cyipopt/tests/unit/test_deriv_errors.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit
  copying cyipopt/tests/unit/test_errors.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit
  copying cyipopt/tests/unit/test_exceptions.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit
  copying cyipopt/tests/unit/test_ipopt_funcs.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit
  copying cyipopt/tests/unit/test_options.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit
  copying cyipopt/tests/unit/test_scipy_optional.py -> build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit
  running build_ext
  /tmp/pip-build-env-bky9xsoy/overlay/local/lib/python3.10/dist-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-o6novqzw/cyipopt_2505f5c7ad7a46d6b5be7c3b96086238/cyipopt/cython/ipopt_wrapper.pyx
    tree = Parsing.p_module(s, pxd, full_module_name)
  Compiling cyipopt/cython/ipopt_wrapper.pyx because it changed.
  [1/1] Cythonizing cyipopt/cython/ipopt_wrapper.pyx
  building 'ipopt_wrapper' extension
  creating build/temp.linux-x86_64-cpython-310
  creating build/temp.linux-x86_64-cpython-310/cyipopt
  creating build/temp.linux-x86_64-cpython-310/cyipopt/cython
  x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/local/include/coin-or -I/usr/local/include/coin-or/hsl -I/tmp/pip-build-env-bky9xsoy/overlay/local/lib/python3.10/dist-packages/numpy/core/include -I/usr/include/python3.10 -c cyipopt/cython/ipopt_wrapper.c -o build/temp.linux-x86_64-cpython-310/cyipopt/cython/ipopt_wrapper.o
  In file included from /tmp/pip-build-env-bky9xsoy/overlay/local/lib/python3.10/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1969,
                   from /tmp/pip-build-env-bky9xsoy/overlay/local/lib/python3.10/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                   from /tmp/pip-build-env-bky9xsoy/overlay/local/lib/python3.10/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                   from cyipopt/cython/ipopt_wrapper.c:1259:
  /tmp/pip-build-env-bky9xsoy/overlay/local/lib/python3.10/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     17 | #warning "Using deprecated NumPy API, disable it with " \
        |  ^~~~~~~
  cyipopt/cython/ipopt_wrapper.c:1914:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   1914 |   Index _Problem__n;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:1915:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   1915 |   Index _Problem__m;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:2978:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   2978 | static CYTHON_INLINE Index __Pyx_PyInt_As_Index(PyObject *);
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:2984:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   2984 | static CYTHON_INLINE PyObject* __Pyx_PyInt_From_Index(Index value);
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:2987:1: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
   2987 | static CYTHON_INLINE Int __Pyx_PyInt_As_Int(PyObject *);
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:3050:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   3050 | static Bool __pyx_f_13ipopt_wrapper_objective_cb(Index, Number *, Bool, Number *, UserDataPtr); /*proto*/
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:3050:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3050:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3051:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   3051 | static Bool __pyx_f_13ipopt_wrapper_gradient_cb(Index, Number *, Bool, Number *, UserDataPtr); /*proto*/
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:3051:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3051:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3052:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   3052 | static Bool __pyx_f_13ipopt_wrapper_constraints_cb(Index, Number *, Bool, Index, Number *, UserDataPtr); /*proto*/
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:3052:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3052:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3052:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3053:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   3053 | static Bool __pyx_f_13ipopt_wrapper_jacobian_struct_cb(Index, Index, Index, Index *, Index *, UserDataPtr); /*proto*/
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:3053:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3053:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3053:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3053:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3054:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   3054 | static Bool __pyx_f_13ipopt_wrapper_jacobian_value_cb(Index, Number *, Bool, Index, Index, Number *, UserDataPtr); /*proto*/
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:3054:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3054:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3054:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3054:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3055:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   3055 | static Bool __pyx_f_13ipopt_wrapper_jacobian_cb(Index, Number *, Bool, Index, Index, Index *, Index *, Number *, UserDataPtr); /*proto*/
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:3055:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3055:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3055:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3055:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3055:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3055:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3056:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   3056 | static Bool __pyx_f_13ipopt_wrapper_hessian_struct_cb(Index, Index, Index, Index *, Index *, UserDataPtr); /*proto*/
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:3056:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3056:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3056:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3056:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3057:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   3057 | static Bool __pyx_f_13ipopt_wrapper_hessian_value_cb(Index, Number *, Bool, Number, Index, Number *, Bool, Index, Number *, UserDataPtr); /*proto*/
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:3057:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3057:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3057:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3057:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3057:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3057:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3058:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   3058 | static Bool __pyx_f_13ipopt_wrapper_hessian_cb(Index, Number *, Bool, Number, Index, Number *, Bool, Index, Index *, Index *, Number *, UserDataPtr); /*proto*/
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:3058:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3058:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3058:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3058:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3058:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3058:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3058:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3058:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3059:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   3059 | static Bool __pyx_f_13ipopt_wrapper_intermediate_cb(Index, Index, Number, Number, Number, Number, Number, Number, Number, Number, Index, UserDataPtr); /*proto*/
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:3059:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3059:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3059:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3059:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3059:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3059:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3059:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3059:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3059:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:3059:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_pf_13ipopt_wrapper_7Problem___init__’:
  cyipopt/cython/ipopt_wrapper.c:6853:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   6853 |   Index __pyx_v_nele_jac;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:6854:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   6854 |   Index __pyx_v_nele_hess;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:6873:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   6873 |   Index __pyx_t_7;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:7011:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   7011 |   __pyx_t_7 = __Pyx_PyInt_As_Index(__pyx_v_n); if (unlikely((__pyx_t_7 == ((Index)-1)) && PyErr_Occurred())) __PYX_ERR(0, 296, __pyx_L1_error)
        |   ^~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:7720:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   7720 |   __pyx_t_7 = __Pyx_PyInt_As_Index(__pyx_v_m); if (unlikely((__pyx_t_7 == ((Index)-1)) && PyErr_Occurred())) __PYX_ERR(0, 335, __pyx_L1_error)
        |   ^~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:8101:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
   8101 |   __pyx_v_nele_hess = ((Index)(((double)(((long)__pyx_v_self->_Problem__n) * (((long)__pyx_v_self->_Problem__n) + 1))) / 2.0));
        |   ^~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:8624:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
   8624 |   __pyx_v_self->_Problem__nlp = CreateIpoptProblem(__pyx_v_self->_Problem__n, ((Number *)__pyx_t_17), ((Number *)__pyx_t_19), __pyx_v_self->_Problem__m, ((Number *)__pyx_t_20), ((Number *)__pyx_t_21), __pyx_v_nele_jac, __pyx_v_nele_hess, 0, __pyx_f_13ipopt_wrapper_objective_cb, __pyx_f_13ipopt_wrapper_constraints_cb, __pyx_f_13ipopt_wrapper_gradient_cb, __pyx_f_13ipopt_wrapper_jacobian_cb, __pyx_f_13ipopt_wrapper_hessian_cb);
        |   ^~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:8624:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:8624:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:8624:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_pf_13ipopt_wrapper_7Problem_8add_option’:
  cyipopt/cython/ipopt_wrapper.c:9220:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
   9220 |   Number __pyx_t_6;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:9221:3: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
   9221 |   Int __pyx_t_7;
        |   ^~~
  cyipopt/cython/ipopt_wrapper.c:9360:5: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
   9360 |     __pyx_t_6 = __pyx_PyFloat_AsDouble(__pyx_v_val); if (unlikely((__pyx_t_6 == ((Number)-1)) && PyErr_Occurred())) __PYX_ERR(0, 499, __pyx_L1_error)
        |     ^~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:9393:5: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
   9393 |     __pyx_t_7 = __Pyx_PyInt_As_Int(__pyx_v_val); if (unlikely((__pyx_t_7 == ((Int)-1)) && PyErr_Occurred())) __PYX_ERR(0, 501, __pyx_L1_error)
        |     ^~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_pf_13ipopt_wrapper_7Problem_12set_problem_scaling’:
  cyipopt/cython/ipopt_wrapper.c:9731:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
   9731 |   Number *__pyx_v_x_scaling_p;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:9732:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
   9732 |   Number *__pyx_v_g_scaling_p;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:9756:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
   9756 |   Number __pyx_t_15;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:10027:5: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  10027 |     __pyx_v_x_scaling_p = ((Number *)__pyx_t_13);
        |     ^~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:10188:5: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  10188 |     __pyx_v_g_scaling_p = ((Number *)__pyx_t_13);
        |     ^~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:10199:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  10199 |   __pyx_t_15 = __pyx_PyFloat_AsDouble(__pyx_v_obj_scaling); if (unlikely((__pyx_t_15 == ((Number)-1)) && PyErr_Occurred())) __PYX_ERR(0, 577, __pyx_L1_error)
        |   ^~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_pf_13ipopt_wrapper_7Problem_14solve’:
  cyipopt/cython/ipopt_wrapper.c:10438:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  10438 |   Number __pyx_v_obj_val;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:11104:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  11104 |   __pyx_v_stat = IpoptSolve(__pyx_v_self->_Problem__nlp, ((Number *)__pyx_t_14), ((Number *)__pyx_t_15), (&__pyx_v_obj_val), ((Number *)__pyx_t_16), ((Number *)__pyx_t_17), ((Number *)__pyx_t_18), ((UserDataPtr)__pyx_v_self));
        |   ^~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:11104:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:11104:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:11104:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:11104:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_pf_13ipopt_wrapper_7Problem_16get_current_iterate’:
  cyipopt/cython/ipopt_wrapper.c:11452:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  11452 |   Number *__pyx_v_x;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:11453:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  11453 |   Number *__pyx_v_mult_x_L;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:11454:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  11454 |   Number *__pyx_v_mult_x_U;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:11455:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  11455 |   Number *__pyx_v_g;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:11456:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  11456 |   Number *__pyx_v_mult_g;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:12111:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  12111 |   __pyx_v_x = ((Number *)__pyx_t_18);
        |   ^~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:12121:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  12121 |   __pyx_v_mult_x_L = ((Number *)__pyx_t_18);
        |   ^~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:12131:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  12131 |   __pyx_v_mult_x_U = ((Number *)__pyx_t_18);
        |   ^~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:12141:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  12141 |   __pyx_v_g = ((Number *)__pyx_t_18);
        |   ^~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:12151:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  12151 |   __pyx_v_mult_g = ((Number *)__pyx_t_18);
        |   ^~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_pf_13ipopt_wrapper_7Problem_18get_current_violations’:
  cyipopt/cython/ipopt_wrapper.c:12429:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  12429 |   Number *__pyx_v_x_L_viol;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:12430:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  12430 |   Number *__pyx_v_x_U_viol;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:12431:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  12431 |   Number *__pyx_v_compl_x_L;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:12432:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  12432 |   Number *__pyx_v_compl_x_U;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:12433:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  12433 |   Number *__pyx_v_grad_lag_x;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:12434:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  12434 |   Number *__pyx_v_g_viol;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:12435:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  12435 |   Number *__pyx_v_compl_g;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:13270:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  13270 |   __pyx_v_x_L_viol = ((Number *)__pyx_t_20);
        |   ^~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:13280:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  13280 |   __pyx_v_x_U_viol = ((Number *)__pyx_t_20);
        |   ^~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:13290:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  13290 |   __pyx_v_compl_x_L = ((Number *)__pyx_t_20);
        |   ^~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:13300:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  13300 |   __pyx_v_compl_x_U = ((Number *)__pyx_t_20);
        |   ^~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:13310:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  13310 |   __pyx_v_grad_lag_x = ((Number *)__pyx_t_20);
        |   ^~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:13320:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  13320 |   __pyx_v_g_viol = ((Number *)__pyx_t_20);
        |   ^~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:13330:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  13330 |   __pyx_v_compl_g = ((Number *)__pyx_t_20);
        |   ^~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_pf_13ipopt_wrapper_7Problem_11_Problem__n_2__set__’:
  cyipopt/cython/ipopt_wrapper.c:14387:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  14387 |   Index __pyx_t_1;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:14391:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  14391 |   __pyx_t_1 = __Pyx_PyInt_As_Index(__pyx_v_value); if (unlikely((__pyx_t_1 == ((Index)-1)) && PyErr_Occurred())) __PYX_ERR(0, 280, __pyx_L1_error)
        |   ^~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_pf_13ipopt_wrapper_7Problem_11_Problem__m_2__set__’:
  cyipopt/cython/ipopt_wrapper.c:14470:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  14470 |   Index __pyx_t_1;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:14474:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  14474 |   __pyx_t_1 = __Pyx_PyInt_As_Index(__pyx_v_value); if (unlikely((__pyx_t_1 == ((Index)-1)) && PyErr_Occurred())) __PYX_ERR(0, 281, __pyx_L1_error)
        |   ^~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c: At top level:
  cyipopt/cython/ipopt_wrapper.c:14810:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  14810 | static Bool __pyx_f_13ipopt_wrapper_objective_cb(Index __pyx_v_n, Number *__pyx_v_x, CYTHON_UNUSED Bool __pyx_v_new_x, Number *__pyx_v_obj_value, UserDataPtr __pyx_v_user_data) {
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:14810:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:14810:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_f_13ipopt_wrapper_objective_cb’:
  cyipopt/cython/ipopt_wrapper.c:14812:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  14812 |   Index __pyx_v_i;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:14830:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  14830 |   Index __pyx_t_13;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:14831:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  14831 |   Index __pyx_t_14;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:14832:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  14832 |   Index __pyx_t_15;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:14834:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  14834 |   Number __pyx_t_17;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:15010:7: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  15010 |       __pyx_t_17 = __pyx_PyFloat_AsDouble(__pyx_t_8); if (unlikely((__pyx_t_17 == ((Number)-1)) && PyErr_Occurred())) __PYX_ERR(0, 875, __pyx_L3_error)
        |       ^~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c: At top level:
  cyipopt/cython/ipopt_wrapper.c:15206:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  15206 | static Bool __pyx_f_13ipopt_wrapper_gradient_cb(Index __pyx_v_n, Number *__pyx_v_x, CYTHON_UNUSED Bool __pyx_v_new_x, Number *__pyx_v_grad_f, UserDataPtr __pyx_v_user_data) {
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:15206:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:15206:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_f_13ipopt_wrapper_gradient_cb’:
  cyipopt/cython/ipopt_wrapper.c:15208:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  15208 |   Index __pyx_v_i;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:15230:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  15230 |   Index __pyx_t_13;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:15231:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  15231 |   Index __pyx_t_14;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:15232:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  15232 |   Index __pyx_t_15;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c: At top level:
  cyipopt/cython/ipopt_wrapper.c:15726:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  15726 | static Bool __pyx_f_13ipopt_wrapper_constraints_cb(Index __pyx_v_n, Number *__pyx_v_x, CYTHON_UNUSED Bool __pyx_v_new_x, Index __pyx_v_m, Number *__pyx_v_g, UserDataPtr __pyx_v_user_data) {
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:15726:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:15726:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:15726:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_f_13ipopt_wrapper_constraints_cb’:
  cyipopt/cython/ipopt_wrapper.c:15728:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  15728 |   Index __pyx_v_i;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:15752:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  15752 |   Index __pyx_t_15;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:15753:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  15753 |   Index __pyx_t_16;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:15754:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  15754 |   Index __pyx_t_17;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c: At top level:
  cyipopt/cython/ipopt_wrapper.c:16300:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  16300 | static Bool __pyx_f_13ipopt_wrapper_jacobian_struct_cb(Index __pyx_v_n, Index __pyx_v_m, Index __pyx_v_nele_jac, Index *__pyx_v_iRow, Index *__pyx_v_jCol, UserDataPtr __pyx_v_user_data) {
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:16300:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:16300:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:16300:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:16300:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_f_13ipopt_wrapper_jacobian_struct_cb’:
  cyipopt/cython/ipopt_wrapper.c:16302:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  16302 |   Index __pyx_v_i;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:16320:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  16320 |   Index __pyx_t_11;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:16321:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  16321 |   Index __pyx_t_12;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:16322:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  16322 |   Index __pyx_t_13;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:16323:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  16323 |   Index __pyx_t_14;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:17037:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17037 |     __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_np_iRow, __pyx_v_i, Index, 1, __Pyx_PyInt_From_Index, 0, 1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1006, __pyx_L1_error)
        |     ^~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:17037:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17037:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17037:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17037:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17037:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17037:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17037:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17037:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17039:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17039 |     __pyx_t_14 = __Pyx_PyInt_As_Index(__pyx_t_7); if (unlikely((__pyx_t_14 == ((Index)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1006, __pyx_L1_error)
        |     ^~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:17050:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17050 |     __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_np_jCol, __pyx_v_i, Index, 1, __Pyx_PyInt_From_Index, 0, 1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1007, __pyx_L1_error)
        |     ^~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:17050:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17050:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17050:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17050:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17050:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17050:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17050:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17050:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17052:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17052 |     __pyx_t_14 = __Pyx_PyInt_As_Index(__pyx_t_7); if (unlikely((__pyx_t_14 == ((Index)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1007, __pyx_L1_error)
        |     ^~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c: At top level:
  cyipopt/cython/ipopt_wrapper.c:17104:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17104 | static Bool __pyx_f_13ipopt_wrapper_jacobian_value_cb(Index __pyx_v_n, Number *__pyx_v_x, CYTHON_UNUSED Bool __pyx_v_new_x, CYTHON_UNUSED Index __pyx_v_m, Index __pyx_v_nele_jac, Number *__pyx_v_values, UserDataPtr __pyx_v_user_data) {
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:17104:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17104:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17104:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17104:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_f_13ipopt_wrapper_jacobian_value_cb’:
  cyipopt/cython/ipopt_wrapper.c:17106:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17106 |   Index __pyx_v_i;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:17123:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17123 |   Index __pyx_t_9;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:17124:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17124 |   Index __pyx_t_10;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:17125:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17125 |   Index __pyx_t_11;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:17132:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  17132 |   Number __pyx_t_18;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:17545:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17545 |     __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_np_jac_g, __pyx_v_i, Index, 1, __Pyx_PyInt_From_Index, 0, 1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1044, __pyx_L1_error)
        |     ^~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:17545:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17545:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17545:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17545:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17545:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17545:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17545:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17545:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17547:5: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  17547 |     __pyx_t_18 = __pyx_PyFloat_AsDouble(__pyx_t_2); if (unlikely((__pyx_t_18 == ((Number)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1044, __pyx_L1_error)
        |     ^~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c: At top level:
  cyipopt/cython/ipopt_wrapper.c:17606:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17606 | static Bool __pyx_f_13ipopt_wrapper_jacobian_cb(Index __pyx_v_n, Number *__pyx_v_x, Bool __pyx_v_new_x, Index __pyx_v_m, Index __pyx_v_nele_jac, Index *__pyx_v_iRow, Index *__pyx_v_jCol, Number *__pyx_v_values, UserDataPtr __pyx_v_user_data) {
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:17606:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17606:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17606:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17606:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17606:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17606:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17964:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17964 | static Bool __pyx_f_13ipopt_wrapper_hessian_struct_cb(Index __pyx_v_n, CYTHON_UNUSED Index __pyx_v_m, Index __pyx_v_nele_hess, Index *__pyx_v_iRow, Index *__pyx_v_jCol, UserDataPtr __pyx_v_user_data) {
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:17964:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17964:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17964:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:17964:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_f_13ipopt_wrapper_hessian_struct_cb’:
  cyipopt/cython/ipopt_wrapper.c:17966:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17966 |   Index __pyx_v_i;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:17999:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  17999 |   Index __pyx_t_21;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:18000:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  18000 |   Index __pyx_t_22;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:18001:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  18001 |   Index __pyx_t_23;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c: At top level:
  cyipopt/cython/ipopt_wrapper.c:18983:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  18983 | static Bool __pyx_f_13ipopt_wrapper_hessian_value_cb(Index __pyx_v_n, Number *__pyx_v_x, CYTHON_UNUSED Bool __pyx_v_new_x, Number __pyx_v_obj_factor, Index __pyx_v_m, Number *__pyx_v_lambd, CYTHON_UNUSED Bool __pyx_v_new_lambda, Index __pyx_v_nele_hess, Number *__pyx_v_values, UserDataPtr __pyx_v_user_data) {
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:18983:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:18983:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:18983:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:18983:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:18983:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:18983:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c: In function ‘__pyx_f_13ipopt_wrapper_hessian_value_cb’:
  cyipopt/cython/ipopt_wrapper.c:18984:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  18984 |   Index __pyx_v_i;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:19007:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  19007 |   Index __pyx_t_11;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:19008:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  19008 |   Index __pyx_t_12;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:19009:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  19009 |   Index __pyx_t_13;
        |   ^~~~~
  cyipopt/cython/ipopt_wrapper.c:19015:3: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  19015 |   Number __pyx_t_19;
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:19527:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  19527 |     __pyx_t_3 = __Pyx_GetItemInt(__pyx_v_np_h, __pyx_v_i, Index, 1, __Pyx_PyInt_From_Index, 0, 1, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1185, __pyx_L1_error)
        |     ^~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:19527:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19527:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19527:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19527:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19527:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19527:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19527:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19527:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19529:5: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  19529 |     __pyx_t_19 = __pyx_PyFloat_AsDouble(__pyx_t_3); if (unlikely((__pyx_t_19 == ((Number)-1)) && PyErr_Occurred())) __PYX_ERR(0, 1185, __pyx_L1_error)
        |     ^~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c: At top level:
  cyipopt/cython/ipopt_wrapper.c:19591:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  19591 | static Bool __pyx_f_13ipopt_wrapper_hessian_cb(Index __pyx_v_n, Number *__pyx_v_x, Bool __pyx_v_new_x, Number __pyx_v_obj_factor, Index __pyx_v_m, Number *__pyx_v_lambd, Bool __pyx_v_new_lambda, Index __pyx_v_nele_hess, Index *__pyx_v_iRow, Index *__pyx_v_jCol, Number *__pyx_v_values, UserDataPtr __pyx_v_user_data) {
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:19591:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19591:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19591:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19591:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19591:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19591:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19591:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19591:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19930:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  19930 | static Bool __pyx_f_13ipopt_wrapper_intermediate_cb(Index __pyx_v_alg_mod, Index __pyx_v_iter_count, Number __pyx_v_obj_value, Number __pyx_v_inf_pr, Number __pyx_v_inf_du, Number __pyx_v_mu, Number __pyx_v_d_norm, Number __pyx_v_regularization_size, Number __pyx_v_alpha_du, Number __pyx_v_alpha_pr, Index __pyx_v_ls_trials, UserDataPtr __pyx_v_user_data) {
        | ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:19930:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19930:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19930:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19930:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19930:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19930:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19930:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19930:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19930:1: warning: ‘Number’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:19930:1: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29149:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29149 |   static CYTHON_INLINE Index __Pyx_PyInt_As_Index(PyObject *x) {
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c: In function ‘__Pyx_PyInt_As_Index’:
  cyipopt/cython/ipopt_wrapper.c:29154:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29154 |     const Index neg_one = (Index) -1, const_zero = (Index) 0;
        |     ^~~~~
  cyipopt/cython/ipopt_wrapper.c:29154:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29154:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29154:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29178:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29178 |                 __PYX_VERIFY_RETURN_INT(Index, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x))
        |                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29178:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29178:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29178:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29184:25: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29184 |                         if ((8 * sizeof(Index) > 1 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29186:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29186 |                                 __PYX_VERIFY_RETURN_INT(Index, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29186:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29186:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29186:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29187:29: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29187 |                             } else if ((8 * sizeof(Index) >= 2 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29188:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29188 |                                 return (Index) (((((Index)digits[1]) << PyLong_SHIFT) | (Index)digits[0]));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29188:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29188:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29193:25: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29193 |                         if ((8 * sizeof(Index) > 2 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29195:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29195 |                                 __PYX_VERIFY_RETURN_INT(Index, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29195:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29195:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29195:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29196:29: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29196 |                             } else if ((8 * sizeof(Index) >= 3 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29197:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29197 |                                 return (Index) (((((((Index)digits[2]) << PyLong_SHIFT) | (Index)digits[1]) << PyLong_SHIFT) | (Index)digits[0]));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29197:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29197:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29197:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29202:25: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29202 |                         if ((8 * sizeof(Index) > 3 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29204:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29204 |                                 __PYX_VERIFY_RETURN_INT(Index, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29204:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29204:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29204:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29205:29: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29205 |                             } else if ((8 * sizeof(Index) >= 4 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29206:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29206 |                                 return (Index) (((((((((Index)digits[3]) << PyLong_SHIFT) | (Index)digits[2]) << PyLong_SHIFT) | (Index)digits[1]) << PyLong_SHIFT) | (Index)digits[0]));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29206:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29206:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29206:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29206:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29226:13: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29226 |             if ((sizeof(Index) <= sizeof(unsigned long))) {
        |             ^~
  cyipopt/cython/ipopt_wrapper.c:29227:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29227 |                 __PYX_VERIFY_RETURN_INT_EXC(Index, unsigned long, PyLong_AsUnsignedLong(x))
        |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29227:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29227:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29227:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29229:13: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29229 |             } else if ((sizeof(Index) <= sizeof(unsigned PY_LONG_LONG))) {
        |             ^
  cyipopt/cython/ipopt_wrapper.c:29230:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29230 |                 __PYX_VERIFY_RETURN_INT_EXC(Index, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
        |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29230:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29230:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29230:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29236:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29236 |                 __PYX_VERIFY_RETURN_INT(Index, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x))
        |                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29236:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29236:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29236:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29242:25: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29242 |                         if ((8 * sizeof(Index) - 1 > 1 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29244:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29244 |                                 __PYX_VERIFY_RETURN_INT(Index, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29244:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29244:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29244:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29245:29: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29245 |                             } else if ((8 * sizeof(Index) - 1 > 2 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29246:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29246 |                                 return (Index) (((Index)-1)*(((((Index)digits[1]) << PyLong_SHIFT) | (Index)digits[0])));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29246:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29246:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29246:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29251:25: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29251 |                         if ((8 * sizeof(Index) > 1 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29253:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29253 |                                 __PYX_VERIFY_RETURN_INT(Index, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29253:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29253:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29253:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29254:29: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29254 |                             } else if ((8 * sizeof(Index) - 1 > 2 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29255:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29255 |                                 return (Index) ((((((Index)digits[1]) << PyLong_SHIFT) | (Index)digits[0])));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29255:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29255:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29260:25: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29260 |                         if ((8 * sizeof(Index) - 1 > 2 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29262:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29262 |                                 __PYX_VERIFY_RETURN_INT(Index, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29262:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29262:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29262:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29263:29: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29263 |                             } else if ((8 * sizeof(Index) - 1 > 3 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29264:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29264 |                                 return (Index) (((Index)-1)*(((((((Index)digits[2]) << PyLong_SHIFT) | (Index)digits[1]) << PyLong_SHIFT) | (Index)digits[0])));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29264:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29264:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29264:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29264:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29269:25: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29269 |                         if ((8 * sizeof(Index) > 2 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29271:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29271 |                                 __PYX_VERIFY_RETURN_INT(Index, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29271:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29271:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29271:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29272:29: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29272 |                             } else if ((8 * sizeof(Index) - 1 > 3 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29273:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29273 |                                 return (Index) ((((((((Index)digits[2]) << PyLong_SHIFT) | (Index)digits[1]) << PyLong_SHIFT) | (Index)digits[0])));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29273:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29273:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29273:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29278:25: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29278 |                         if ((8 * sizeof(Index) - 1 > 3 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29280:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29280 |                                 __PYX_VERIFY_RETURN_INT(Index, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29280:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29280:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29280:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29281:29: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29281 |                             } else if ((8 * sizeof(Index) - 1 > 4 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29282:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29282 |                                 return (Index) (((Index)-1)*(((((((((Index)digits[3]) << PyLong_SHIFT) | (Index)digits[2]) << PyLong_SHIFT) | (Index)digits[1]) << PyLong_SHIFT) | (Index)digits[0])));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29282:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29282:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29282:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29282:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29282:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29287:25: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29287 |                         if ((8 * sizeof(Index) > 3 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29289:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29289 |                                 __PYX_VERIFY_RETURN_INT(Index, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29289:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29289:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29289:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29290:29: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29290 |                             } else if ((8 * sizeof(Index) - 1 > 4 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29291:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29291 |                                 return (Index) ((((((((((Index)digits[3]) << PyLong_SHIFT) | (Index)digits[2]) << PyLong_SHIFT) | (Index)digits[1]) << PyLong_SHIFT) | (Index)digits[0])));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29291:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29291:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29291:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29291:33: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29298:13: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29298 |             if ((sizeof(Index) <= sizeof(long))) {
        |             ^~
  cyipopt/cython/ipopt_wrapper.c:29299:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29299 |                 __PYX_VERIFY_RETURN_INT_EXC(Index, long, PyLong_AsLong(x))
        |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29299:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29299:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29299:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29301:13: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29301 |             } else if ((sizeof(Index) <= sizeof(PY_LONG_LONG))) {
        |             ^
  cyipopt/cython/ipopt_wrapper.c:29302:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29302 |                 __PYX_VERIFY_RETURN_INT_EXC(Index, PY_LONG_LONG, PyLong_AsLongLong(x))
        |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29302:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29302:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29302:17: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29307:13: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29307 |             Index val;
        |             ^~~~~
  cyipopt/cython/ipopt_wrapper.c:29401:13: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29401 |             return (Index) -1;
        |             ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29404:9: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29404 |         Index val;
        |         ^~~~~
  cyipopt/cython/ipopt_wrapper.c:29406:9: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29406 |         if (!tmp) return (Index) -1;
        |         ^~
  cyipopt/cython/ipopt_wrapper.c:29414:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29414 |     return (Index) -1;
        |     ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29418:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29418 |     return (Index) -1;
        |     ^~~~~~
  cyipopt/cython/ipopt_wrapper.c: At top level:
  cyipopt/cython/ipopt_wrapper.c:29486:3: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29486 |   static CYTHON_INLINE PyObject* __Pyx_PyInt_From_Index(Index value) {
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c: In function ‘__Pyx_PyInt_From_Index’:
  cyipopt/cython/ipopt_wrapper.c:29491:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29491 |     const Index neg_one = (Index) -1, const_zero = (Index) 0;
        |     ^~~~~
  cyipopt/cython/ipopt_wrapper.c:29491:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29491:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29491:5: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29497:9: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29497 |         if (sizeof(Index) < sizeof(long)) {
        |         ^~
  cyipopt/cython/ipopt_wrapper.c:29499:9: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29499 |         } else if (sizeof(Index) <= sizeof(unsigned long)) {
        |         ^
  cyipopt/cython/ipopt_wrapper.c:29502:9: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29502 |         } else if (sizeof(Index) <= sizeof(unsigned PY_LONG_LONG)) {
        |         ^
  cyipopt/cython/ipopt_wrapper.c:29507:9: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29507 |         if (sizeof(Index) <= sizeof(long)) {
        |         ^~
  cyipopt/cython/ipopt_wrapper.c:29510:9: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29510 |         } else if (sizeof(Index) <= sizeof(PY_LONG_LONG)) {
        |         ^
  cyipopt/cython/ipopt_wrapper.c:29519:9: warning: ‘Index’ is deprecated [-Wdeprecated-declarations]
  29519 |         return _PyLong_FromByteArray(bytes, sizeof(Index),
        |         ^~~~~~
  cyipopt/cython/ipopt_wrapper.c: At top level:
  cyipopt/cython/ipopt_wrapper.c:29550:3: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29550 |   static CYTHON_INLINE Int __Pyx_PyInt_As_Int(PyObject *x) {
        |   ^~~~~~
  cyipopt/cython/ipopt_wrapper.c: In function ‘__Pyx_PyInt_As_Int’:
  cyipopt/cython/ipopt_wrapper.c:29555:5: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29555 |     const Int neg_one = (Int) -1, const_zero = (Int) 0;
        |     ^~~~~
  cyipopt/cython/ipopt_wrapper.c:29555:5: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29555:5: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29555:5: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29579:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29579 |                 __PYX_VERIFY_RETURN_INT(Int, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x))
        |                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29579:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29579:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29579:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29585:25: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29585 |                         if ((8 * sizeof(Int) > 1 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29587:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29587 |                                 __PYX_VERIFY_RETURN_INT(Int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29587:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29587:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29587:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29588:29: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29588 |                             } else if ((8 * sizeof(Int) >= 2 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29589:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29589 |                                 return (Int) (((((Int)digits[1]) << PyLong_SHIFT) | (Int)digits[0]));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29589:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29589:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29594:25: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29594 |                         if ((8 * sizeof(Int) > 2 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29596:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29596 |                                 __PYX_VERIFY_RETURN_INT(Int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29596:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29596:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29596:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29597:29: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29597 |                             } else if ((8 * sizeof(Int) >= 3 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29598:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29598 |                                 return (Int) (((((((Int)digits[2]) << PyLong_SHIFT) | (Int)digits[1]) << PyLong_SHIFT) | (Int)digits[0]));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29598:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29598:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29598:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29603:25: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29603 |                         if ((8 * sizeof(Int) > 3 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29605:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29605 |                                 __PYX_VERIFY_RETURN_INT(Int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29605:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29605:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29605:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29606:29: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29606 |                             } else if ((8 * sizeof(Int) >= 4 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29607:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29607 |                                 return (Int) (((((((((Int)digits[3]) << PyLong_SHIFT) | (Int)digits[2]) << PyLong_SHIFT) | (Int)digits[1]) << PyLong_SHIFT) | (Int)digits[0]));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29607:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29607:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29607:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29607:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29627:13: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29627 |             if ((sizeof(Int) <= sizeof(unsigned long))) {
        |             ^~
  cyipopt/cython/ipopt_wrapper.c:29628:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29628 |                 __PYX_VERIFY_RETURN_INT_EXC(Int, unsigned long, PyLong_AsUnsignedLong(x))
        |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29628:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29628:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29628:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29630:13: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29630 |             } else if ((sizeof(Int) <= sizeof(unsigned PY_LONG_LONG))) {
        |             ^
  cyipopt/cython/ipopt_wrapper.c:29631:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29631 |                 __PYX_VERIFY_RETURN_INT_EXC(Int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
        |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29631:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29631:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29631:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29637:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29637 |                 __PYX_VERIFY_RETURN_INT(Int, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x))
        |                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29637:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29637:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29637:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29643:25: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29643 |                         if ((8 * sizeof(Int) - 1 > 1 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29645:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29645 |                                 __PYX_VERIFY_RETURN_INT(Int, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29645:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29645:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29645:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29646:29: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29646 |                             } else if ((8 * sizeof(Int) - 1 > 2 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29647:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29647 |                                 return (Int) (((Int)-1)*(((((Int)digits[1]) << PyLong_SHIFT) | (Int)digits[0])));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29647:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29647:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29647:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29652:25: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29652 |                         if ((8 * sizeof(Int) > 1 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29654:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29654 |                                 __PYX_VERIFY_RETURN_INT(Int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29654:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29654:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29654:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29655:29: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29655 |                             } else if ((8 * sizeof(Int) - 1 > 2 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29656:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29656 |                                 return (Int) ((((((Int)digits[1]) << PyLong_SHIFT) | (Int)digits[0])));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29656:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29656:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29661:25: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29661 |                         if ((8 * sizeof(Int) - 1 > 2 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29663:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29663 |                                 __PYX_VERIFY_RETURN_INT(Int, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29663:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29663:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29663:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29664:29: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29664 |                             } else if ((8 * sizeof(Int) - 1 > 3 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29665:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29665 |                                 return (Int) (((Int)-1)*(((((((Int)digits[2]) << PyLong_SHIFT) | (Int)digits[1]) << PyLong_SHIFT) | (Int)digits[0])));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29665:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29665:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29665:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29665:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29670:25: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29670 |                         if ((8 * sizeof(Int) > 2 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29672:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29672 |                                 __PYX_VERIFY_RETURN_INT(Int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29672:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29672:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29672:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29673:29: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29673 |                             } else if ((8 * sizeof(Int) - 1 > 3 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29674:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29674 |                                 return (Int) ((((((((Int)digits[2]) << PyLong_SHIFT) | (Int)digits[1]) << PyLong_SHIFT) | (Int)digits[0])));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29674:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29674:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29674:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29679:25: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29679 |                         if ((8 * sizeof(Int) - 1 > 3 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29681:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29681 |                                 __PYX_VERIFY_RETURN_INT(Int, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29681:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29681:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29681:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29682:29: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29682 |                             } else if ((8 * sizeof(Int) - 1 > 4 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29683:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29683 |                                 return (Int) (((Int)-1)*(((((((((Int)digits[3]) << PyLong_SHIFT) | (Int)digits[2]) << PyLong_SHIFT) | (Int)digits[1]) << PyLong_SHIFT) | (Int)digits[0])));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29683:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29683:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29683:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29683:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29683:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29688:25: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29688 |                         if ((8 * sizeof(Int) > 3 * PyLong_SHIFT)) {
        |                         ^~
  cyipopt/cython/ipopt_wrapper.c:29690:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29690 |                                 __PYX_VERIFY_RETURN_INT(Int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
        |                                 ^~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29690:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29690:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29690:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29691:29: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29691 |                             } else if ((8 * sizeof(Int) - 1 > 4 * PyLong_SHIFT)) {
        |                             ^
  cyipopt/cython/ipopt_wrapper.c:29692:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29692 |                                 return (Int) ((((((((((Int)digits[3]) << PyLong_SHIFT) | (Int)digits[2]) << PyLong_SHIFT) | (Int)digits[1]) << PyLong_SHIFT) | (Int)digits[0])));
        |                                 ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29692:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29692:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29692:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29692:33: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29699:13: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29699 |             if ((sizeof(Int) <= sizeof(long))) {
        |             ^~
  cyipopt/cython/ipopt_wrapper.c:29700:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29700 |                 __PYX_VERIFY_RETURN_INT_EXC(Int, long, PyLong_AsLong(x))
        |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29700:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29700:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29700:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29702:13: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29702 |             } else if ((sizeof(Int) <= sizeof(PY_LONG_LONG))) {
        |             ^
  cyipopt/cython/ipopt_wrapper.c:29703:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29703 |                 __PYX_VERIFY_RETURN_INT_EXC(Int, PY_LONG_LONG, PyLong_AsLongLong(x))
        |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29703:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29703:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29703:17: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  cyipopt/cython/ipopt_wrapper.c:29708:13: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29708 |             Int val;
        |             ^~~
  cyipopt/cython/ipopt_wrapper.c:29802:13: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29802 |             return (Int) -1;
        |             ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29805:9: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29805 |         Int val;
        |         ^~~
  cyipopt/cython/ipopt_wrapper.c:29807:9: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29807 |         if (!tmp) return (Int) -1;
        |         ^~
  cyipopt/cython/ipopt_wrapper.c:29815:5: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29815 |     return (Int) -1;
        |     ^~~~~~
  cyipopt/cython/ipopt_wrapper.c:29819:5: warning: ‘Int’ is deprecated [-Wdeprecated-declarations]
  29819 |     return (Int) -1;
        |     ^~~~~~
  cyipopt/cython/ipopt_wrapper.c: In function ‘__Pyx_PyInt_As_Bool’:
  cyipopt/cython/ipopt_wrapper.c:29920:58: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
  29920 |                                 return (Bool) (((Bool)-1)*(((((Bool)digits[1]) << PyLong_SHIFT) | (Bool)digits[0])));
        |                                               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29938:58: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
  29938 |                                 return (Bool) (((Bool)-1)*(((((((Bool)digits[2]) << PyLong_SHIFT) | (Bool)digits[1]) << PyLong_SHIFT) | (Bool)digits[0])));
        |                                               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cyipopt/cython/ipopt_wrapper.c:29956:58: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
  29956 |                                 return (Bool) (((Bool)-1)*(((((((((Bool)digits[3]) << PyLong_SHIFT) | (Bool)digits[2]) << PyLong_SHIFT) | (Bool)digits[1]) << PyLong_SHIFT) | (Bool)digits[0])));
        |                                               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-x86_64-cpython-310/cyipopt/cython/ipopt_wrapper.o -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu -lipopt -o build/lib.linux-x86_64-cpython-310/ipopt_wrapper.cpython-310-x86_64-linux-gnu.so
  installing to build/bdist.linux-x86_64/wheel
  running install
  running install_lib
  creating build/bdist.linux-x86_64
  creating build/bdist.linux-x86_64/wheel
  copying build/lib.linux-x86_64-cpython-310/ipopt_wrapper.cpython-310-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel
  creating build/bdist.linux-x86_64/wheel/cyipopt
  copying build/lib.linux-x86_64-cpython-310/cyipopt/__init__.py -> build/bdist.linux-x86_64/wheel/cyipopt
  copying build/lib.linux-x86_64-cpython-310/cyipopt/version.py -> build/bdist.linux-x86_64/wheel/cyipopt
  copying build/lib.linux-x86_64-cpython-310/cyipopt/exceptions.py -> build/bdist.linux-x86_64/wheel/cyipopt
  creating build/bdist.linux-x86_64/wheel/cyipopt/tests
  creating build/bdist.linux-x86_64/wheel/cyipopt/tests/integration
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/integration/test_rosen.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/integration
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/integration/__init__.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/integration
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/integration/test_hs071.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/integration
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/integration/test_lasso.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/integration
  creating build/bdist.linux-x86_64/wheel/cyipopt/tests/unit
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit/test_deprecations.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/unit
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit/test_errors.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/unit
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit/test_defaults.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/unit
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit/test_deriv_errors.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/unit
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit/test_ipopt_funcs.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/unit
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit/test_exceptions.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/unit
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit/__init__.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/unit
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit/test_options.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/unit
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/unit/test_scipy_optional.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests/unit
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/conftest.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests
  copying build/lib.linux-x86_64-cpython-310/cyipopt/tests/__init__.py -> build/bdist.linux-x86_64/wheel/cyipopt/tests
  copying build/lib.linux-x86_64-cpython-310/cyipopt/utils.py -> build/bdist.linux-x86_64/wheel/cyipopt
  copying build/lib.linux-x86_64-cpython-310/cyipopt/scipy_interface.py -> build/bdist.linux-x86_64/wheel/cyipopt
  copying build/lib.linux-x86_64-cpython-310/cyipopt/ipopt_wrapper.py -> build/bdist.linux-x86_64/wheel/cyipopt
  creating build/bdist.linux-x86_64/wheel/cyipopt/cython
  copying build/lib.linux-x86_64-cpython-310/cyipopt/cython/ipopt.pxd -> build/bdist.linux-x86_64/wheel/cyipopt/cython
  copying build/lib.linux-x86_64-cpython-310/cyipopt/cython/ipopt_wrapper.pyx -> build/bdist.linux-x86_64/wheel/cyipopt/cython
  creating build/bdist.linux-x86_64/wheel/ipopt
  copying build/lib.linux-x86_64-cpython-310/ipopt/__init__.py -> build/bdist.linux-x86_64/wheel/ipopt
  running install_egg_info
  Copying cyipopt.egg-info to build/bdist.linux-x86_64/wheel/cyipopt-1.4.1-py3.10.egg-info
  running install_scripts
  creating build/bdist.linux-x86_64/wheel/cyipopt-1.4.1.dist-info/WHEEL
  creating '/tmp/pip-wheel-esihf00m/.tmp-v4f19h1j/cyipopt-1.4.1-cp310-cp310-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
  adding 'ipopt_wrapper.cpython-310-x86_64-linux-gnu.so'
  adding 'cyipopt/__init__.py'
  adding 'cyipopt/exceptions.py'
  adding 'cyipopt/ipopt_wrapper.py'
  adding 'cyipopt/scipy_interface.py'
  adding 'cyipopt/utils.py'
  adding 'cyipopt/version.py'
  adding 'cyipopt/cython/ipopt.pxd'
  adding 'cyipopt/cython/ipopt_wrapper.pyx'
  adding 'cyipopt/tests/__init__.py'
  adding 'cyipopt/tests/conftest.py'
  adding 'cyipopt/tests/integration/__init__.py'
  adding 'cyipopt/tests/integration/test_hs071.py'
  adding 'cyipopt/tests/integration/test_lasso.py'
  adding 'cyipopt/tests/integration/test_rosen.py'
  adding 'cyipopt/tests/unit/__init__.py'
  adding 'cyipopt/tests/unit/test_defaults.py'
  adding 'cyipopt/tests/unit/test_deprecations.py'
  adding 'cyipopt/tests/unit/test_deriv_errors.py'
  adding 'cyipopt/tests/unit/test_errors.py'
  adding 'cyipopt/tests/unit/test_exceptions.py'
  adding 'cyipopt/tests/unit/test_ipopt_funcs.py'
  adding 'cyipopt/tests/unit/test_options.py'
  adding 'cyipopt/tests/unit/test_scipy_optional.py'
  adding 'ipopt/__init__.py'
  adding 'cyipopt-1.4.1.dist-info/AUTHORS'
  adding 'cyipopt-1.4.1.dist-info/LICENSE'
  adding 'cyipopt-1.4.1.dist-info/METADATA'
  adding 'cyipopt-1.4.1.dist-info/WHEEL'
  adding 'cyipopt-1.4.1.dist-info/top_level.txt'
  adding 'cyipopt-1.4.1.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Building wheel for cyipopt (pyproject.toml) ... done
  Created wheel for cyipopt: filename=cyipopt-1.4.1-cp310-cp310-linux_x86_64.whl size=704375 sha256=3fb90678fd3e2ea21de4d3335f69cb615f586f37809294df88f4ee7ab3acfaf5
  Stored in directory: /tmp/pip-ephem-wheel-cache-_ctwmj84/wheels/9c/3f/7a/e03e00da2aee50b8219e2bec3176e381bc41303dbe4ad1118a
Successfully built cyipopt
Installing collected packages: numpy, cyipopt
  Attempting uninstall: numpy
    Found existing installation: numpy 1.26.4
    Uninstalling numpy-1.26.4:
      Removing file or directory /home/numlab/.local/bin/f2py
      Removing file or directory /home/numlab/.local/lib/python3.10/site-packages/numpy-1.26.4.dist-info/
      Removing file or directory /home/numlab/.local/lib/python3.10/site-packages/numpy.libs/
      Removing file or directory /home/numlab/.local/lib/python3.10/site-packages/numpy/
      Successfully uninstalled numpy-1.26.4
  changing mode of /home/numlab/.local/bin/f2py to 775
  Attempting uninstall: cyipopt
    Found existing installation: cyipopt 1.4.1
    Uninstalling cyipopt-1.4.1:
      Removing file or directory /home/numlab/.local/lib/python3.10/site-packages/cyipopt-1.4.1.dist-info/
      Removing file or directory /home/numlab/.local/lib/python3.10/site-packages/cyipopt/
      Removing file or directory /home/numlab/.local/lib/python3.10/site-packages/ipopt/
      Removing file or directory /home/numlab/.local/lib/python3.10/site-packages/ipopt_wrapper.cpython-310-x86_64-linux-gnu.so
      Successfully uninstalled cyipopt-1.4.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
viskex 0.0.dev1 requires trame-vtk, which is not installed.
fenicsx-plotly 0.3.0 requires ipywidgets==7.7.2, but you have ipywidgets 8.1.1 which is incompatible.
itkwidgets 0.32.6 requires ipydatawidgets<4.3.3,>=4.0.1, but you have ipydatawidgets 4.3.5 which is incompatible.
itkwidgets 0.32.6 requires ipywidgets<8.0.0, but you have ipywidgets 8.1.1 which is incompatible.
itkwidgets 0.32.6 requires notebook<6.5.0, but you have notebook 7.0.6 which is incompatible.
itkwidgets 0.32.6 requires traitlets<5.7.0, but you have traitlets 5.13.0 which is incompatible.
Successfully installed cyipopt-1.4.1 numpy-1.26.4
moorepants commented 4 months ago

Seems pip now hides the output. Can you do python3 -m pip install -v cyipopt?

moorepants commented 4 months ago

Your output includes:

  Using Ipopt found with pkg-config.

which means it is picking up your ipopt and then the compile command shows the links:

  x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/local/include/coin-or -I/usr/local/include/coin-or/hsl -I/tmp/pip-build-env-bky9xsoy/overlay/local/lib/python3.10/dist-packages/numpy/core/include -I/usr/include/python3.10 -c cyipopt/cython/ipopt_wrapper.c -o build/temp.linux-x86_64-cpython-310/cyipopt/cython/ipopt_wrapper.o

  x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-x86_64-cpython-310/cyipopt/cython/ipopt_wrapper.o -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu -lipopt -o build/lib.linux-x86_64-cpython-310/ipopt_wrapper.cpython-310-x86_64-linux-gnu.so

So the build looks fine to me.

raphaelsulzer commented 4 months ago

I might have just solve it by running sudo ldconfig

I had the exact same problem and this solution worked for me.

moorepants commented 1 week ago

This seems resolved.