Giter VIP home page Giter VIP logo

meco-group / fatrop Goto Github PK

View Code? Open in Web Editor NEW
115.0 115.0 16.0 5.16 MB

Fatrop is a nonlinear optimal control problem solver that aims to be fast, support a broad class of optimal control problems and achieve a high numerical robustness.

Home Page: https://meco-group.github.io/fatrop/

License: GNU Lesser General Public License v3.0

CMake 1.80% C++ 86.28% Python 10.23% C 1.70%
fatrop kuleuven numerical-optimization optimal-control optimization-algorithms solvers

fatrop's People

Contributors

ajsat avatar jgillis avatar johanubbink avatar lvanroye avatar maximvochten avatar wdecre 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

Watchers

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

fatrop's Issues

Running Executable RunFatrop.cpp

When I run RunFatrop.cpp file runing vscode I get this error:

*  Executing task: C/C++: gcc build active file 

Starting build...
/usr/bin/gcc -fdiagnostics-color=always -g /home/nabil/fatrop/fatrop/executables/RunFatrop.cpp -o /home/nabil/fatrop/fatrop/executables/RunFatrop
/home/nabil/fatrop/fatrop/executables/RunFatrop.cpp:22:10: fatal error: fatrop/ocp/StageOCPApplication.hpp: No such file or directory
   22 | #include <fatrop/ocp/StageOCPApplication.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Build finished with error(s).

Should I run anything before?

FindCasadi.cmake error

Hello,

I was trying to use spectool and I am getting an error with finding casadi when compiling the CMakeLists file.

The FindCasadi.cmake gives an error Could not find CasADi libs.

find_library(CASADI_LIBRARY
    NAMES casadi
    HINTS ${CASADI_INCLUDE_DIR}/../lib $ENV{CASADI_PREFIX}/lib)
if(CASADI_LIBRARY)
    set(CASADI_LIBRARIES ${CASADI_LIBRARIES} ${CASADI_LIBRARY})
endif()

if(CASADI_LIBRARIES)
  message(STATUS "Found CasADi libs: ${CASADI_LIBRARIES}")
else()
  message(STATUS "Could not find CasADi libs")
endif()

I have installed casadi using pip install casadi and in the download files I cant find an lib fill inside the casadi folder. I can only find a fill called lib64 and using it didn't work.

(base) nabil@ubuntu:~/miniconda3/lib/python3.11/site-packages/casadi$ find . -type d -name "lib*"
./lib64

Could you please guide me into what could be missing in my case?

Is it not possible to apply different constraints at each timestep?

I checked the examples using rockit and spectool that you provided, and it seems that unlike what is described in the paper, it is not possible to apply different constraints at each timestep (ustage). (It only allows applying the same constraints at t0, tf, and across all timesteps.) Is the ability to apply different constraints at each timestep a feature that is planned for development later?

f.so and f.json usage

For running RunFatrop we need to get .so and .json. What are these files used for and how to generate them?

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.