Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sudo apt-get install doxygen graphviz

### Python virtual environment

* Get python3.5 or later if not already present.
* Get python3.8 or later if not already present.
* Optionally create and activate a python virtual environment
```
python3 -m venv <path_to_virtual_env> # you can use path_to_virtual_env = "env"
Expand Down
3 changes: 2 additions & 1 deletion docs/python_interface/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ There is a `ctypes` based wrapper which is the default and a `cython` based wrap

## Optimal Control Problem description
The Python interface relies on the same problem formulation as the MATLAB interface [see here](https://github.com/acados/acados/blob/master/docs/problem_formulation/problem_formulation_ocp_mex.pdf).
Currently, Python >= 3.8 is required.

## Installation
1. Compile and install `acados` by following the [`CMake` installation instructions](../installation/index.md).

2. Optional: Recommended.
Create a Python virtual environment using `virtualenv`.
```
virtualenv env --python=/usr/bin/python3.7
virtualenv env --python=/usr/bin/python3
# Source the environment
source env/bin/activate
```
Expand Down