Build in Visual Studio 2022 fails due to use of deprecated unary_function

A error occurs when building from source in Visual Studio 2022. The error is due to the use of the deprecated unary_function. The solution is to remove part of line 39 in tools.h, specifically: : public unary_function<Trial, bool>

With that piece of code removed, the build succeeds. As a test, the basic example runs to "Regular termination".

In addition, an attempt to solve a simple model using Pyomo fails. See https://github.com/Pyomo/pyomo/issues/3266

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information