Code Monkey home page Code Monkey logo

alpaqa's People

Contributors

alexanderbodard avatar jgillis avatar mathijssch avatar tttapa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

alpaqa's Issues

pip install broken?

Using vanilla `pip install alpaqa' installs alpaqa version 0.0.1 successfully. However, that distribution does not seem to work with the documented examples from the site, in particular the HangingChain MPC. Seems to me the python API is broken/missing...could not import the alpaqa.minimize function, nor the class it wraps.

Using the --upgrade --pre flags does fix this issue. Is there a reason that a version 0.0.2 is not yet released with whatever changes fixed this?

bugs

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.

Windows Compilation

Dear Author:
I have a problem in compilation. I have install gcc and g++, but when I run Python Code, something happened
23dcd4062f6741d55f23d0c86ad8d07

Running the problem fails with stack smashing detected

While running the example mpc bicycle problem alpaqa results in stack smashing detected

(env) aditya@aditya-desktop:~/workspace/alpaqa/examples/mpc/python/bicycle$ python3 bicycle-obstacle-avoidance-mpc.py 
*** stack smashing detected ***: <unknown> terminated
Aborted (core dumped)

NOTE: The example file has some syntax error, so I had to fix that.

I tried reinstalling alpaqa but that doesn't help

(env) aditya@aditya-desktop:~/workspace/alpaqa/examples/mpc/python/bicycle$ pip3 install --force alpaqa
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting alpaqa
  Downloading alpaqa-0.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_27_x86_64.whl (3.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 40.4 MB/s eta 0:00:00
Collecting cmake
  Downloading cmake-3.24.1.1-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.3/23.3 MB 96.3 MB/s eta 0:00:00
Collecting casadi
  Downloading casadi-3.5.5-cp38-none-manylinux1_x86_64.whl (34.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.2/34.2 MB 91.0 MB/s eta 0:00:00
Collecting numpy
  Downloading numpy-1.23.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 106.5 MB/s eta 0:00:00
Collecting ninja
  Downloading ninja-1.10.2.4-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (120 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.7/120.7 kB 200.8 MB/s eta 0:00:00
Installing collected packages: ninja, cmake, casadi, numpy, alpaqa
  Attempting uninstall: ninja
    Found existing installation: ninja 1.10.2.3
    Uninstalling ninja-1.10.2.3:
      Successfully uninstalled ninja-1.10.2.3
  Attempting uninstall: cmake
    Found existing installation: cmake 3.24.1.1
    Uninstalling cmake-3.24.1.1:
      Successfully uninstalled cmake-3.24.1.1
  Attempting uninstall: casadi
    Found existing installation: casadi 3.5.5
    Uninstalling casadi-3.5.5:
      Successfully uninstalled casadi-3.5.5
  Attempting uninstall: numpy
    Found existing installation: numpy 1.23.3
    Uninstalling numpy-1.23.3:
      Successfully uninstalled numpy-1.23.3
  Attempting uninstall: alpaqa
    Found existing installation: alpaqa 0.0.1
    Uninstalling alpaqa-0.0.1:
      Successfully uninstalled alpaqa-0.0.1
Successfully installed alpaqa-0.0.1 casadi-3.5.5 cmake-3.24.1.1 ninja-1.10.2.4 numpy-1.23.3

[notice] A new release of pip available: 22.2 -> 22.2.2
[notice] To update, run: pip install --upgrade pip
(env) aditya@aditya-desktop:~/workspace/alpaqa/examples/mpc/python/bicycle$ python3 bicycle-obstacle-avoidance-mpc.py 
*** stack smashing detected ***: <unknown> terminated
Aborted (core dumped)

Casadi with other ipot seems to be working fine.

Thoughts? Or should this be part of casadi?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.