Skip to content

Commit

Permalink
use v9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Braktar committed May 19, 2022
1 parent e09e56f commit ca45ff5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/actions/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ case $ORTOOLS_VERSION in
'v9.0')
export ORTOOLS_URL="https://github.com/google/or-tools/releases/download/v9.0/or-tools_debian-10_v9.0.9048.tar.gz"
;;
'v9.3')
export ORTOOLS_URL="https://github.com/google/or-tools/releases/download/v9.3/or-tools_amd64_debian-11_v9.3.10497.tar.gz"
;;
*)
echo "Unknown OR-Tools version"
esac
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
types: [opened, synchronize, reopened]

env:
ORTOOLS_VERSION: v9.0
ORTOOLS_VERSION: v9.3
REGISTRY: ${{ secrets.REGISTRY }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ optimizer-ortools
Compute an optimized solution to the Vehicle Routing Problem with Time Windows and various constraints using OR-Tools.
This wrapper is designed to be called through [Optimizer-API](https://github.com/Mapotempo/optimizer-api) and has been tested on Ubuntu 17.10, 18.04; Linux Mint 18; Debian 8, 10.

The current implementation has been tested with the version 9.0 of OR-Tools
The current implementation has been tested with the version 9.3 of OR-Tools

Installation
============
## Requirements

Require OR-Tools for the C++ part. Fetch source code at [https://github.com/google/or-tools](https://github.com/google/or-tools).

Download OR-Tools here : https://github.com/google/or-tools/releases/tag/v9.0
Download OR-Tools here : https://github.com/google/or-tools/releases/tag/v9.3

- Recommended Asset : [or-tools_debian-10_v9.0.9048.tar.gz](https://github.com/google/or-tools/releases/download/v9.0/or-tools_debian-10_v9.0.9048.tar.gz)
- Recommended Asset : [or-tools_debian-10_v9.0.9048.tar.gz](https://github.com/google/or-tools/releases/download/v9.3/or-tools_debian-10_v9.0.9048.tar.gz)

More details on [Google Optimization Tools Documentation](https://developers.google.com/optimization/introduction/installing)

Expand Down
4 changes: 2 additions & 2 deletions ci-utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ Optimizer requires the two following images that must be manually built.
### Ortools

```
export ORTOOLS_VERSION=v9.0
export ORTOOLS_VERSION=v9.3
cd ./docker/ortools
docker build --build-arg ORTOOLS_VERSION=${ORTOOLS_VERSION} \
-f ./Dockerfile -t ${REGISTRY}mapotempo/ortools:${ORTOOLS_VERSION} .
```

## Build
```
export ORTOOLS_VERSION=v9.0
export ORTOOLS_VERSION=v9.3
export BRANCH=${BRANCH:-ce}
docker build --build-arg ORTOOLS_VERSION=${ORTOOLS_VERSION} \
-f ./Dockerfile -t ${REGISTRY}mapotempo-${BRANCH}/optimizer-ortools:latest .
Expand Down

0 comments on commit ca45ff5

Please sign in to comment.