Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package Ipopt for openSUSE:Factory checked in at 2026-12-02 17:05:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Ipopt (Old) and /work/SRC/openSUSE:Factory/.Ipopt.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Ipopt" Wed Dec 2 17:05:22 2026 rev:25 rq:1402179 version:3.14.20 Changes: -------- --- /work/SRC/openSUSE:Factory/Ipopt/Ipopt.changes 2025-08-10 22:20:49.051764347 +0200 +++ /work/SRC/openSUSE:Factory/.Ipopt.new.1340718/Ipopt.changes 2026-12-02 17:07:46.967652948 +0100 @@ -1,0 +2,22 @@ +Mon Nov 30 17:54:59 UTC 2026 - Atri Bhattacharya <[email protected]> + +- Update to version 3.14.20: + * Call MPI_Init() with NULL instead of dummy arguments to fix + SIGSEGV with MPICH >= 4.3.1 [gh#coin-or/Ipopt#846]. + * Fixed a use-after-free in Spral interface where attempting to + solve a second system with the same structurally singular + matrix would end up trying to use an old numeric factorization + using data from an already freed symbolic factorization + [gh#coin-or/Ipopt#848]. + * Fixed that the limit on filter resets was not effective + [gh#coin-or/Ipopt#860]. To restore previous behavior, set + option max_filter_resets to an high value. + * Removed unnecessary include of iostream header + [gh#coin-or/Ipopt#856]. + * Removed global variable Wallclock_firstCall_ + [gh#coin-or/Ipopt#857]. WallclockTime() now returns time since + the Epoch instead of the first call. + * Global variable copyright_message_printed is now thread-local. + The copyright message will be printed once per thread now. + +------------------------------------------------------------------- Old: ---- Ipopt-3.14.19.tar.gz New: ---- Ipopt-3.14.20.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Ipopt.spec ++++++ --- /var/tmp/diff_new_pack.fom056/_old 2026-12-02 17:07:47.878694345 +0100 +++ /var/tmp/diff_new_pack.fom056/_new 2026-12-02 17:07:47.880694436 +0100 @@ -1,7 +1,7 @@ # # spec file for package Ipopt # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define sover 3 %define shlib libipopt%{sover} Name: Ipopt -Version: 3.14.19 +Version: 3.14.20 Release: 0 Summary: A software package for large-scale nonlinear optimization methods License: EPL-2.0 ++++++ Ipopt-3.14.19.tar.gz -> Ipopt-3.14.20.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/ChangeLog.md new/Ipopt-releases-3.14.20/ChangeLog.md --- old/Ipopt-releases-3.14.19/ChangeLog.md 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/ChangeLog.md 2026-08-27 16:02:53.000000000 +0200 @@ -7,6 +7,23 @@ ## 3.14 +### 3.14.20 (2026-08-27) + +- Fixed issue where Ipopt exceptions could not been caught from other libraries + on macOS with clang when Ipopt or the other library was build with `-fvisibility=hidden`. +- Call MPI_Init() with NULL instead of dummy arguments to fix SIGSEGV with MPICH >= 4.3.1 + [#846, by Shengqi Chen]. +- Fixed a use-after-free in Spral interface where attempting to solve a second system with + the same structurally singular matrix would end up trying to use an old numeric factorization + using data from an already freed symbolic factorization [#848, by Kevin Kofler]. +- Fixed that the limit on filter resets was not effective [#860, #862, by Lander Vanroye and + Julien Schueller]. To restore previous behavior, set option max_filter_resets to a high value. +- Removed unnecessary include of iostream header [#856 by Jeremy Nimmer, #863]. +- Removed global variable `Wallclock_firstCall_` (for #857); WallclockTime() now returns time + since the Epoch instead of the first call +- Global variable `copyright_message_printed` is now thread-local (for #857). + The copyright message will be printed once per thread now. + ### 3.14.19 (2025-07-30) - Fixed call to `getenv_s` on Windows, introduced with 3.14.17. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/README.md new/Ipopt-releases-3.14.20/README.md --- old/Ipopt-releases-3.14.19/README.md 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/README.md 2026-08-27 16:02:53.000000000 +0200 @@ -66,7 +66,7 @@ - [Parallel Sparse Direct Linear Solver](http://www.pardiso-project.org) (Pardiso). Note, that the Intel Math Kernel Library (MKL) also includes a version of Pardiso, but the one from Pardiso Project often offers better performance. - [Sparse Parallel Robust Algorithms Library](https://github.com/ralna/spral) (SPRAL). -- [MUltifrontal Massively Parallel sparse direct Solver](http://mumps.enseeiht.fr/) (MUMPS). +- [MUltifrontal Massively Parallel sparse direct Solver](https://mumps-solver.org/) (MUMPS). It is highly recommended to use project [ThirdParty-Mumps](https://github.com/coin-or-tools/ThirdParty-Mumps) to build a MUMPS library for use by Ipopt. - [Watson Sparse Matrix Package](http://www.research.ibm.com/projects/wsmp) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/appveyor.yml new/Ipopt-releases-3.14.20/appveyor.yml --- old/Ipopt-releases-3.14.19/appveyor.yml 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/appveyor.yml 2026-08-27 16:02:53.000000000 +0200 @@ -23,9 +23,10 @@ - IF %ARCH%==win64-mingw (CALL C:\msys64\usr\bin\bash -lc "PATH=/mingw64/bin:$PATH ; gcc --version; g++ --version; gfortran --version; pkg-config --libs lapack ; echo PATH=$PATH") build_script: - - IF %ARCH%-%PRECISION%==win64-mingw-double (CALL C:\msys64\usr\bin\bash -lc "PATH=/mingw64/bin:$PATH ; git clone --depth 1 https://github.com/coin-or-tools/ThirdParty-ASL && cd ThirdParty-ASL && ./get.ASL && ./configure --prefix=$HOME/install && make && make install") - - IF %ARCH%==win64-mingw (CALL C:\msys64\usr\bin\bash -lc "PATH=/mingw64/bin:$PATH ; git clone --depth 1 https://github.com/coin-or-tools/ThirdParty-Mumps && cd ThirdParty-Mumps && ./get.Mumps && ./configure --prefix=$HOME/install --with-precision=%PRECISION% && make && make install") - - IF %ARCH%==win64-mingw (CALL C:\msys64\usr\bin\bash -lc "PATH=/mingw64/bin:$PATH ; JAVA_HOME=/c/Progra~2/Java/jdk1.8.0 ; /c/projects/ipopt/configure --prefix=$HOME/install --with-precision=%PRECISION% && make && make install") + - uname -a + - IF %ARCH%-%PRECISION%==win64-mingw-double (CALL C:\msys64\usr\bin\bash -lc "PATH=/mingw64/bin:$PATH ; git clone --depth 1 https://github.com/coin-or-tools/ThirdParty-ASL && cd ThirdParty-ASL && ./get.ASL && ./configure --prefix=$HOME/install --build=x86_64-pc-msys && make && make install") + - IF %ARCH%==win64-mingw (CALL C:\msys64\usr\bin\bash -lc "PATH=/mingw64/bin:$PATH ; git clone --depth 1 https://github.com/coin-or-tools/ThirdParty-Mumps && cd ThirdParty-Mumps && ./get.Mumps && ./configure --prefix=$HOME/install --with-precision=%PRECISION% --build=x86_64-pc-msys && make && make install") + - IF %ARCH%==win64-mingw (CALL C:\msys64\usr\bin\bash -lc "PATH=/mingw64/bin:$PATH ; JAVA_HOME=/c/Progra~2/Java/jdk1.8.0 ; /c/projects/ipopt/configure --prefix=$HOME/install --with-precision=%PRECISION% --build=x86_64-pc-msys && make && make install") - IF %ARCH%==win64-msvc15 (CALL C:\msys64\usr\bin\bash -lc "/c/projects/ipopt/configure --enable-msvc && make") test_script: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/configure new/Ipopt-releases-3.14.20/configure --- old/Ipopt-releases-3.14.19/configure 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/configure 2026-08-27 16:02:53.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.72 for Ipopt 3.14.19. +# Generated by GNU Autoconf 2.72 for Ipopt 3.14.20. # # Report bugs to <https://github.com/coin-or/Ipopt/issues/new>. # @@ -620,8 +620,8 @@ # Identity of this package. PACKAGE_NAME='Ipopt' PACKAGE_TARNAME='ipopt' -PACKAGE_VERSION='3.14.19' -PACKAGE_STRING='Ipopt 3.14.19' +PACKAGE_VERSION='3.14.20' +PACKAGE_STRING='Ipopt 3.14.20' PACKAGE_BUGREPORT='https://github.com/coin-or/Ipopt/issues/new' PACKAGE_URL='https://github.com/coin-or/Ipopt' @@ -1496,7 +1496,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -'configure' configures Ipopt 3.14.19 to adapt to many kinds of systems. +'configure' configures Ipopt 3.14.20 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1567,7 +1567,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Ipopt 3.14.19:";; + short | recursive ) echo "Configuration of Ipopt 3.14.20:";; esac cat <<\_ACEOF @@ -1770,7 +1770,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Ipopt configure 3.14.19 +Ipopt configure 3.14.20 generated by GNU Autoconf 2.72 Copyright (C) 2023 Free Software Foundation, Inc. @@ -2607,7 +2607,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by Ipopt $as_me 3.14.19, which was +It was created by Ipopt $as_me 3.14.20, which was generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw @@ -4478,7 +4478,7 @@ -printf "%s\n" "#define IPOPT_VERSION \"3.14.19\"" >>confdefs.h +printf "%s\n" "#define IPOPT_VERSION \"3.14.20\"" >>confdefs.h printf "%s\n" "#define IPOPT_VERSION_MAJOR 3" >>confdefs.h @@ -4487,7 +4487,7 @@ printf "%s\n" "#define IPOPT_VERSION_MINOR 14" >>confdefs.h -printf "%s\n" "#define IPOPT_VERSION_RELEASE 19" >>confdefs.h +printf "%s\n" "#define IPOPT_VERSION_RELEASE 20" >>confdefs.h @@ -4560,7 +4560,7 @@ # Define the identity of the package. PACKAGE='ipopt' - VERSION='3.14.19' + VERSION='3.14.20' # Some tools Automake needs. @@ -24442,9 +24442,9 @@ - LT_LDFLAGS="$LT_LDFLAGS -version-number 3:14:19" - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libtool version info: -version-number 3:14:19" >&5 -printf "%s\n" "$as_me: libtool version info: -version-number 3:14:19" >&6;} + LT_LDFLAGS="$LT_LDFLAGS -version-number 3:14:20" + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libtool version info: -version-number 3:14:20" >&5 +printf "%s\n" "$as_me: libtool version info: -version-number 3:14:20" >&6;} LT_LDFLAGS="$LT_LDFLAGS -no-undefined" @@ -30314,7 +30314,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by Ipopt $as_me 3.14.19, which was +This file was extended by Ipopt $as_me 3.14.20, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -30387,7 +30387,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -Ipopt config.status 3.14.19 +Ipopt config.status 3.14.20 configured by $0, generated by GNU Autoconf 2.72, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/configure.ac new/Ipopt-releases-3.14.20/configure.ac --- old/Ipopt-releases-3.14.19/configure.ac 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/configure.ac 2026-08-27 16:02:53.000000000 +0200 @@ -8,7 +8,7 @@ # Names and other basic things # ############################################################################# -AC_INIT([Ipopt],[3.14.19],[https://github.com/coin-or/Ipopt/issues/new],[],[https://github.com/coin-or/Ipopt]) +AC_INIT([Ipopt],[3.14.20],[https://github.com/coin-or/Ipopt/issues/new],[],[https://github.com/coin-or/Ipopt]) AC_COPYRIGHT([ Copyright 2004, 2011 International Business Machines and others. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/doc/install.dox new/Ipopt-releases-3.14.20/doc/install.dox --- old/Ipopt-releases-3.14.19/doc/install.dox 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/doc/install.dox 2026-08-27 16:02:53.000000000 +0200 @@ -283,7 +283,7 @@ \subsection DOWNLOAD_MUMPS MUMPS Linear Solver You can also use the (public domain) sparse linear solver MUMPS. Please -visit the [MUMPS home page](http://mumps.enseeiht.fr/) for more +visit the [MUMPS home page](https://mumps-solver.org/) for more information about the solver. MUMPS is provided as Fortran 90 and C source code. You need to have a Fortran 90 compiler (e.g., the GNU compiler gfortran) to be able to use it. @@ -403,13 +403,13 @@ in `/path/to/spral/include`) on a GNU/Linux system, you should add the following flags to the `configure` command: \verbatim ---with-spral-lflags="-L/path/to/spral/lib -lspral -lgfortran -lhwloc -lm -lcoinmetis -lopenblas -lstdc++ -fopenmp" +--with-spral-lflags="-L/path/to/spral/lib -lspral -lgfortran -lhwloc -lm -lmetis -lopenblas -lstdc++ -fopenmp" --with-spral-cflags="-I/path/to/spral/include" \endverbatim For a CPU and graphics processing unit- (GPU-) parallel version of SPRAL, the following flags should be used, instead: \verbatim ---with-spral-lflags="-L/path/to/spral/lib -lspral -lgfortran -lhwloc -lm -lcoinmetis -lopenblas -lstdc++ -fopenmp -lcudadevrt -lcudart -lcuda -lcublas" +--with-spral-lflags="-L/path/to/spral/lib -lspral -lgfortran -lhwloc -lm -lmetis -lopenblas -lstdc++ -fopenmp -lcudadevrt -lcudart -lcuda -lcublas" --with-spral-cflags="-I/path/to/spral/include" \endverbatim The above assumes a SPRAL compilation using OpenBLAS libraries. For best diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/doc/main.dox new/Ipopt-releases-3.14.20/doc/main.dox --- old/Ipopt-releases-3.14.19/doc/main.dox 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/doc/main.dox 2026-08-27 16:02:53.000000000 +0200 @@ -138,7 +138,7 @@ - HSL_MA97 from the [HSL Mathematical Software Library](http://www.hsl.rl.ac.uk) - - [MUMPS](http://mumps.enseeiht.fr) (MUltifrontal Massively Parallel sparse direct Solver) + - [MUMPS](https://mumps-solver.org) (MUltifrontal Massively Parallel sparse direct Solver) - PARDISO (Parallel Sparse Direct Solver) from [Pardiso Project](http://www.pardiso-project.org) or Intel MKL. Note that current versions from Pardiso Project typically @@ -261,9 +261,9 @@ It is also possible to use Ipopt via [CppADs Python interface](https://bradbell.github.io/cppad_py/doc/xsrst/cppad_py.html). An example is available [here](https://bradbell.github.io/cppad_py/doc/xsrst/mixed_optimize_fixed_2_py.html). -- [csipopt](https://github.com/cureos/csipopt) +- [IpoptNet](https://github.com/sfiruch/ipopt-net) - Interfacing Ipopt from .NET languages such as **C#**, **F#** and **Visual Basic.NET**. + A modern .NET interface providing both a high-level modeling API with automatic differentiation and a low-level native wrapper. - [cyipopt](https://github.com/mechmotum/cyipopt) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/examples/ScalableProblems/solve_problem.cpp new/Ipopt-releases-3.14.20/examples/ScalableProblems/solve_problem.cpp --- old/Ipopt-releases-3.14.19/examples/ScalableProblems/solve_problem.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/examples/ScalableProblems/solve_problem.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -20,7 +20,6 @@ //********************************************************************** using namespace Ipopt; -using namespace std; // This could probably be done more elegant and automatically, but I // can't get it to work right now. For now, list explicitly the @@ -147,9 +146,9 @@ bool done = false; while( !done ) { - string inputword; - cout << "Enter problem name (or \"list\" for all available names):\n"; - cin >> inputword; + std::string inputword; + std::cout << "Enter problem name (or \"list\" for all available names):\n"; + std::cin >> inputword; if( inputword == "list" ) { print_problems(); @@ -167,8 +166,8 @@ } } } - cout << "Enter problem size:\n"; - cin >> N; + std::cout << "Enter problem size:\n"; + std::cin >> N; } if( N <= 0 ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Algorithm/IpDefaultIterateInitializer.cpp new/Ipopt-releases-3.14.20/src/Algorithm/IpDefaultIterateInitializer.cpp --- old/Ipopt-releases-3.14.19/src/Algorithm/IpDefaultIterateInitializer.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Algorithm/IpDefaultIterateInitializer.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -290,7 +290,7 @@ bool call_least_square_mults = true; if( least_square_init_duals_ ) { - // We try to compute a least square estimate of all multiplers, + // We try to compute a least square estimate of all multipliers, // and if successful,we make sure they are sufficiently positive SmartPtr<Vector> zL_new = IpData().trial()->z_L()->MakeNew(); SmartPtr<Vector> zU_new = IpData().trial()->z_U()->MakeNew(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Algorithm/IpFilterLSAcceptor.cpp new/Ipopt-releases-3.14.20/src/Algorithm/IpFilterLSAcceptor.cpp --- old/Ipopt-releases-3.14.19/src/Algorithm/IpFilterLSAcceptor.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Algorithm/IpFilterLSAcceptor.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -417,6 +417,7 @@ "Resetting filter because in %" IPOPT_INDEX_FORMAT " iterations last rejection was due to filter", count_successive_filter_rejections_); IpData().Append_info_string("F+"); Reset(); + ++n_filter_resets_; } } else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Algorithm/IpIpoptAlg.cpp new/Ipopt-releases-3.14.20/src/Algorithm/IpIpoptAlg.cpp --- old/Ipopt-releases-3.14.19/src/Algorithm/IpIpoptAlg.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Algorithm/IpIpoptAlg.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -19,6 +19,19 @@ #include <cfenv> #endif +// copied from IpTaggedObject.cpp +#ifndef IPOPT_THREAD_LOCAL +#if __cplusplus >= 201103L +#define IPOPT_THREAD_LOCAL thread_local +#elif defined(_MSC_VER) +#define IPOPT_THREAD_LOCAL __declspec(thread) +#elif defined(__APPLE__) && ((defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ < 405)) || defined(__INTEL_COMPILER)) +#define IPOPT_THREAD_LOCAL +#else +#define IPOPT_THREAD_LOCAL __thread +#endif +#endif + namespace Ipopt { #if IPOPT_VERBOSITY > 0 @@ -116,7 +129,7 @@ "The overall algorithm time is unaffected by this option."); } -static bool copyright_message_printed = false; +static IPOPT_THREAD_LOCAL bool copyright_message_printed = false; bool IpoptAlgorithm::InitializeImpl( const OptionsList& options, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Algorithm/IpIpoptNLP.hpp new/Ipopt-releases-3.14.20/src/Algorithm/IpIpoptNLP.hpp --- old/Ipopt-releases-3.14.19/src/Algorithm/IpIpoptNLP.hpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Algorithm/IpIpoptNLP.hpp 2026-08-27 16:02:53.000000000 +0200 @@ -144,7 +144,7 @@ /** Upper bounds on x */ virtual SmartPtr<const Vector> x_U() const = 0; - /** Permutation matrix (x_U_ -> x */ + /** Permutation matrix (x_U_ -> x) */ virtual SmartPtr<const Matrix> Px_U() const = 0; /** Lower bounds on d */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpMa57TSolverInterface.cpp new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpMa57TSolverInterface.cpp --- old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpMa57TSolverInterface.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpMa57TSolverInterface.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -9,7 +9,6 @@ #include "IpMa57TSolverInterface.hpp" #include <cmath> -#include <iostream> #ifdef IPOPT_HAS_HSL #include "CoinHslConfig.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpMa77SolverInterface.cpp new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpMa77SolverInterface.cpp --- old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpMa77SolverInterface.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpMa77SolverInterface.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -11,15 +11,12 @@ #include "IpoptConfig.h" #include "IpMa77SolverInterface.hpp" -#include <iostream> #include <cmath> #ifdef IPOPT_HAS_HSL #include "CoinHslConfig.h" #endif -using namespace std; - namespace Ipopt { static IPOPT_DECL_MA77_DEFAULT_CONTROL(*user_ma77_default_control) = NULL; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpMa86SolverInterface.cpp new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpMa86SolverInterface.cpp --- old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpMa86SolverInterface.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpMa86SolverInterface.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -11,15 +11,12 @@ #include "IpoptConfig.h" #include "IpMa86SolverInterface.hpp" -#include <iostream> #include <cmath> #ifdef IPOPT_HAS_HSL #include "CoinHslConfig.h" #endif -using namespace std; - namespace Ipopt { @@ -307,7 +304,6 @@ if( info.num_flops > info2.num_flops ) { // Use AMD - //cout << "Choose AMD\n"; order_ = order_amd; keep_ = keep_amd; delete[] order_metis; @@ -316,7 +312,6 @@ else { // Use MeTiS - //cout << "Choose MeTiS\n"; order_ = order_metis; keep_ = keep_metis; delete[] order_amd; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpMa97SolverInterface.cpp new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpMa97SolverInterface.cpp --- old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpMa97SolverInterface.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpMa97SolverInterface.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -11,7 +11,6 @@ #include "IpoptConfig.h" #include "IpMa97SolverInterface.hpp" -#include <iostream> #include <cstdio> #include <cmath> #include <cassert> @@ -44,8 +43,6 @@ } #endif -using namespace std; - namespace Ipopt { @@ -370,7 +367,7 @@ if( scaling_method == "dynamic" ) { scaling_type_ = 0; - string switch_val[3], scale_val[3]; + std::string switch_val[3], scale_val[3]; options.GetStringValue("ma97_switch1", switch_val[0], prefix); options.GetStringValue("ma97_scaling1", scale_val[0], prefix); options.GetStringValue("ma97_switch2", switch_val[1], prefix); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp --- old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -63,9 +63,7 @@ MPI_Initialized(&mpi_initialized); if( !mpi_initialized ) { - int argc = 1; - char** argv = NULL; - MPI_Init(&argc, &argv); + MPI_Init(NULL, NULL); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpPardisoSolverInterface.cpp new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpPardisoSolverInterface.cpp --- old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpPardisoSolverInterface.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpPardisoSolverInterface.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -349,8 +349,8 @@ Index N = dim_; Index NRHS = 0; Index ERROR; - Index idmy; - Number ddmy; + Index idmy = 0; + Number ddmy = 0.0; pardiso(PT_, &MAXFCT_, &MNUM_, &MTYPE_, &PHASE, &N, &ddmy, &idmy, &idmy, &idmy, &NRHS, IPARM_, &MSGLVL_, &ddmy, &ddmy, &ERROR, DPARM_); DBG_ASSERT(ERROR == 0); @@ -716,7 +716,7 @@ // Call Pardiso to do the factorization Index PHASE; Index N = dim_; - Index PERM; // This should not be accessed by Pardiso + Index PERM = 0; // This should not be accessed by Pardiso Index NRHS = 0; Number B; // This should not be accessed by Pardiso in factorization // phase @@ -949,7 +949,7 @@ // Call Pardiso to do the solve for the given right-hand sides Index PHASE = 33; Index N = dim_; - Index PERM; // This should not be accessed by Pardiso + Index PERM = 0; // This should not be accessed by Pardiso Index NRHS = nrhs; Number* X = new Number[nrhs * dim_]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpSpralSolverInterface.cpp new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpSpralSolverInterface.cpp --- old/Ipopt-releases-3.14.19/src/Algorithm/LinearSolvers/IpSpralSolverInterface.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Algorithm/LinearSolvers/IpSpralSolverInterface.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -16,8 +16,6 @@ #include <cmath> #include <cinttypes> -using namespace std; - namespace Ipopt { @@ -532,6 +530,10 @@ if( control_.ordering == 2 && control_.scaling == 3 && rescale_ ) { + // Fully invalidate the previous factorization. Otherwise, spral_ssids_analyse_ptr32 is going to + // free only the old akeep_, but does not see the old fkeep_ that shares some of its data. + spral_ssids_free(&akeep_, &fkeep_); + if( HaveIpData() ) { IpData().TimingStats().LinearSystemSymbolicFactorization().Start(); @@ -675,6 +677,13 @@ } else { + if( !fkeep_ ) + { + Jnlst().Printf(J_DETAILED, J_LINEAR_ALGEBRA, "In SpralSolverInterface::Factorization: " + "Attempting to solve again after failed factorization of singular system\n"); + return SYMSOLVER_SINGULAR; + } + if( HaveIpData() ) { IpData().TimingStats().LinearSystemBackSolve().Start(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Apps/AmplSolver/AmplTNLP.cpp new/Ipopt-releases-3.14.20/src/Apps/AmplSolver/AmplTNLP.cpp --- old/Ipopt-releases-3.14.19/src/Apps/AmplSolver/AmplTNLP.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Apps/AmplSolver/AmplTNLP.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -1792,7 +1792,7 @@ Index n = (Index) suffix_ids_.size(); for( Index i = 0; i < n; i++ ) { - free(suftab_[i].name); + delete[] suftab_[i].name; suftab_[i].name = NULL; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Common/IpException.hpp new/Ipopt-releases-3.14.20/src/Common/IpException.hpp --- old/Ipopt-releases-3.14.19/src/Common/IpException.hpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Common/IpException.hpp 2026-08-27 16:02:53.000000000 +0200 @@ -3,10 +3,8 @@ // This code is published under the Eclipse Public License. // // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13 - -/** This file contains a base class for all exceptions - * and a set of macros to help with exceptions. - */ +// +// This file contains a base class for all exceptions and a set of macros to help with exceptions. #ifndef __IPEXCEPTION_HPP__ #define __IPEXCEPTION_HPP__ @@ -14,6 +12,17 @@ #include "IpUtils.hpp" #include "IpJournalist.hpp" +/* for the exception classes, __attribute__((__visibility__("default"))) needs to be used + * also by libraries that link against an Ipopt shared library on macOS/clang, + * since otherwise the exceptions cannot be recognized by a catch() in the user code + * (https://stackoverflow.com/questions/11913151/catching-derived-exceptions-types-fails-on-clang-macos-x) + */ +#if defined(__GNUC__) && __GNUC__ >= 4 +#define IPOPTEXCEPTION_EXPORT __attribute__((__visibility__("default"))) +#else +#define IPOPTEXCEPTION_EXPORT IPOPTLIB_EXPORT +#endif + namespace Ipopt { @@ -54,7 +63,7 @@ * Journalist, using the level J_ERROR and the category J_MAIN. * */ -class IPOPTLIB_EXPORT IpoptException +class IPOPTEXCEPTION_EXPORT IpoptException { public: /**@name Constructors/Destructors */ @@ -141,7 +150,7 @@ } #define DECLARE_STD_EXCEPTION(__except_type) \ - class IPOPTLIB_EXPORT __except_type : public Ipopt::IpoptException \ + class IPOPTEXCEPTION_EXPORT __except_type : public Ipopt::IpoptException \ { \ public: \ __except_type(const std::string& msg, const std::string& fname, Ipopt::Index line) \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Common/IpOptionsList.hpp new/Ipopt-releases-3.14.20/src/Common/IpOptionsList.hpp --- old/Ipopt-releases-3.14.19/src/Common/IpOptionsList.hpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Common/IpOptionsList.hpp 2026-08-27 16:02:53.000000000 +0200 @@ -12,7 +12,7 @@ #include "IpException.hpp" #include "IpRegOptions.hpp" -#include <iostream> +#include <istream> #include <map> namespace Ipopt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Common/IpRegOptions.cpp new/Ipopt-releases-3.14.20/src/Common/IpRegOptions.cpp --- old/Ipopt-releases-3.14.19/src/Common/IpRegOptions.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Common/IpRegOptions.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -776,15 +776,13 @@ const std::string& s2 ) const { - using namespace std; - if( s1.size() != s2.size() ) { return false; } - string::const_iterator i1 = s1.begin(); - string::const_iterator i2 = s2.begin(); + std::string::const_iterator i1 = s1.begin(); + std::string::const_iterator i2 = s2.begin(); while( i1 != s1.end() ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Common/IpUtils.cpp new/Ipopt-releases-3.14.20/src/Common/IpUtils.cpp --- old/Ipopt-releases-3.14.19/src/Common/IpUtils.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Common/IpUtils.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -142,8 +142,6 @@ #endif } -static double Wallclock_firstCall_ = -1.; - // The following function were taken from CoinTime.hpp in COIN/Coin Number CpuTime() { @@ -184,12 +182,7 @@ Number WallclockTime() { - double callTime = IpCoinGetTimeOfDay(); - if( Wallclock_firstCall_ == -1. ) - { - Wallclock_firstCall_ = callTime; - } - return callTime - Wallclock_firstCall_; + return IpCoinGetTimeOfDay(); } static bool registered_handler = false; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Common/IpUtils.hpp new/Ipopt-releases-3.14.20/src/Common/IpUtils.hpp --- old/Ipopt-releases-3.14.19/src/Common/IpUtils.hpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Common/IpUtils.hpp 2026-08-27 16:02:53.000000000 +0200 @@ -97,7 +97,7 @@ /** method determining system time */ IPOPTLIB_EXPORT Number SysTime(); -/** method determining wallclock time since first call */ +/** method determining wallclock time since Epoch */ IPOPTLIB_EXPORT Number WallclockTime(); /** register handler for interrupt signals diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Common/config_ipopt_default.h new/Ipopt-releases-3.14.20/src/Common/config_ipopt_default.h --- old/Ipopt-releases-3.14.19/src/Common/config_ipopt_default.h 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Common/config_ipopt_default.h 2026-08-27 16:02:53.000000000 +0200 @@ -5,7 +5,7 @@ /***************************************************************************/ /* Version number of project */ -#define IPOPT_VERSION "3.14.19" +#define IPOPT_VERSION "3.14.20" /* Major Version number of project */ #define IPOPT_VERSION_MAJOR 3 @@ -14,7 +14,7 @@ #define IPOPT_VERSION_MINOR 14 /* Release Version number of project */ -#define IPOPT_VERSION_RELEASE 19 +#define IPOPT_VERSION_RELEASE 20 /* Define to the C type corresponding to Fortran INTEGER * @deprecated Use ipindex instead. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Interfaces/IpIpoptApplication.hpp new/Ipopt-releases-3.14.20/src/Interfaces/IpIpoptApplication.hpp --- old/Ipopt-releases-3.14.19/src/Interfaces/IpIpoptApplication.hpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Interfaces/IpIpoptApplication.hpp 2026-08-27 16:02:53.000000000 +0200 @@ -7,7 +7,7 @@ #ifndef __IPIPOPTAPPLICATION_HPP__ #define __IPIPOPTAPPLICATION_HPP__ -#include <iostream> +#include <istream> #include "IpJournalist.hpp" #include "IpTNLP.hpp" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Ipopt-releases-3.14.19/src/Interfaces/IpStdJInterface.cpp new/Ipopt-releases-3.14.20/src/Interfaces/IpStdJInterface.cpp --- old/Ipopt-releases-3.14.19/src/Interfaces/IpStdJInterface.cpp 2025-07-30 11:38:01.000000000 +0200 +++ new/Ipopt-releases-3.14.20/src/Interfaces/IpStdJInterface.cpp 2026-08-27 16:02:53.000000000 +0200 @@ -5,12 +5,12 @@ */ #include <cassert> +#include <cstdio> #include <jni.h> #include "IpTNLP.hpp" #include "IpIpoptApplication.hpp" #include "org_coinor_Ipopt.h" -using namespace std; using namespace Ipopt; #ifdef IPOPT_SINGLE @@ -293,7 +293,7 @@ || get_scaling_parameters_ == 0 || get_number_of_nonlinear_variables_ == 0 || get_list_of_nonlinear_variables_ == 0 ) { - std::cerr << "Expected callback methods missing on JIpopt.java" << std::endl; + printf("\n\n*** Expected callback methods missing on JIpopt.java!\n"); } assert(get_bounds_info_ != 0); @@ -1078,7 +1078,7 @@ Jipopt* problem = GetRawPtr(*(SmartPtr<Jipopt>*) pipopt); const char* pparameterName = env->GetStringUTFChars(jparname, 0); - string parameterName = pparameterName; + std::string parameterName = pparameterName; // Try to apply the integer option jboolean ret = problem->application->Options()->SetIntegerValue(parameterName, jparvalue); @@ -1099,7 +1099,7 @@ Jipopt* problem = GetRawPtr(*(SmartPtr<Jipopt>*) pipopt); const char* pparameterName = env->GetStringUTFChars(jparname, 0); - string parameterName = pparameterName; + std::string parameterName = pparameterName; // Try to set the real option jboolean ret = problem->application->Options()->SetNumericValue(parameterName, jparvalue); @@ -1120,9 +1120,9 @@ Jipopt* problem = GetRawPtr(*(SmartPtr<Jipopt>*) pipopt); const char* pparameterName = env->GetStringUTFChars(jparname, NULL); - string parameterName = pparameterName; + std::string parameterName = pparameterName; const char* pparameterValue = env->GetStringUTFChars(jparvalue, NULL); - string parameterValue = pparameterValue; + std::string parameterValue = pparameterValue; // parameterValue has been changed to LowerCase in Java! if( parameterName == "hessian_approximation" && parameterValue == "limited-memory" )
