kul-optec / alpaqa

Library for nonconvex constrained optimization using the augmented Lagrangian method and the matrix-free PANOC algorithm.
GNU Lesser General Public License v3.0
64 stars 7 forks source link

bugs #9

Closed wcxily closed 3 months ago

wcxily commented 3 months ago

when i installed c++ version of alpaqa in windows and linux system, there were many bugs. i have tired many times, but i still can not install it. i think there are many aspect that can be improved.

tttapa commented 3 months ago

Hi,

Thanks for the feedback! Could you please post the specific errors you're seeing? If there are any errors during compilation, this is usually caused by using an older compiler. Building alpaqa on Linux requires GCC 11 or higher, and on Windows it requires Visual Studio 2022.

On newer systems (e.g. Ubuntu 22.04 or Debian Bookworm), the installation instructions should work without issues. (I noticed that the minimum requirement for Clang was outdated. This has now been updated in the documentation.)

If you intend to use alpaqa in your own C++ project, I would recommend installing it through a package manager such as Conan. You can find details in https://github.com/kul-optec/alpaqa/tree/develop/examples/CMake/Solver.

wcxily commented 3 months ago

Hi,

Thanks for the feedback! Could you please post the specific errors you're seeing? If there are any errors during compilation, this is usually caused by using an older compiler. Building alpaqa on Linux requires GCC 11 or higher, and on Windows it requires Visual Studio 2022.

On newer systems (e.g. Ubuntu 22.04 or Debian Bookworm), the installation instructions should work without issues. (I noticed that the minimum requirement for Clang was outdated. This has now been updated in the documentation.)

If you intend to use alpaqa in your own C++ project, I would recommend installing it through a package manager such as Conan. You can find details in https://github.com/kul-optec/alpaqa/tree/develop/examples/CMake/Solver.

Thank you very much for your reply, I have solved this problem :)

tttapa commented 3 months ago

Glad to hear it works. Feel free to open a discussion if you have any further questions.