My program using HiGHS was initially unable to complete optimizations due to crashing on a test system. I then realized that the unamanaged highs.dll included in the NuGet package has dependencies on Visual C++ standard library dlls, such as MSVCP140.dll. The test system had an old version of Visual C++ redistributable installed, which caused the crashes.
I can think of a couple options to prevent this issue:
- Document which version of Visual C++ redistributable needs to be installed
- Link the highs library statically with MSVC STL
I would prefer option 2 so that the NuGet package would contain all dependencies.
My program using HiGHS was initially unable to complete optimizations due to crashing on a test system. I then realized that the unamanaged highs.dll included in the NuGet package has dependencies on Visual C++ standard library dlls, such as MSVCP140.dll. The test system had an old version of Visual C++ redistributable installed, which caused the crashes.
I can think of a couple options to prevent this issue:
I would prefer option 2 so that the NuGet package would contain all dependencies.