Skip to content

Commit c7f5a50

Browse files
authored
Merge pull request #344 from ds4dm/gasse-patch-3
2 parents d887a07 + d271b8e commit c7f5a50

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
cmake_minimum_required(VERSION 3.14)
2-
cmake_policy(SET CMP0095 OLD) # RPATH escaping
1+
cmake_minimum_required(VERSION 3.16)
32

43
# Adapt compiler flags if using Conda compiler packages. Before project so they are not modified.
54
include(cmake/Conda.cmake)

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ in cooperation with a state-of-the-art Mixed Integer Linear Programming solver
2727
that acts as a controllable algorithm.
2828

2929
The underlying solver used is `SCIP <https://scip.zib.de/>`_, and the user facing API is
30-
meant to mimic the `OpenAI Gym <https://gym.openai.com/>`_ API (as much as possible).
30+
meant to mimic the `OpenAI Gym <https://www.gymlibrary.dev/>`_ API (as much as possible).
3131

3232
.. code-block:: python
3333

cmake/DependenciesResolver.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
# Based and fetch content, it avoids using `add_subdirectory` which exposes other project
66
# targets and errors as part of this project.
77

8+
# Avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24:
9+
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
10+
cmake_policy(SET CMP0135 NEW)
11+
endif()
812

913
include(FetchContent)
1014

docs/discussion/gym-differences.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Differences with OpenAI Gym
33

44
Changing reward and observations
55
--------------------------------
6-
Contrarily to `OpenAI Gym <https://gym.openai.com/>`_ where learning tasks are predefined,
6+
Contrarily to `OpenAI Gym <https://www.gymlibrary.dev/>`_ where learning tasks are predefined,
77
Ecole gives the user the tools to easily extend and customize environments.
88
This is because the objective with Ecole is not only to provide a collection of challenges
99
for machine learning, but really to solve combinatorial optimization problems more

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ picking the next variable to branch on. Ecole aims at exposing these algorithmic
3838
standard reinforcement learning API (agent / environment loop), in order to ease the exploration
3939
of new machine learning models and algorithms for learning data-driven policies.
4040

41-
Ecole's interface is inspired from `OpenAI Gym <https://gym.openai.com/>`_ and will look
41+
Ecole's interface is inspired from `OpenAI Gym <https://www.gymlibrary.dev/>`_ and will look
4242
familiar to reinforcement learning praticionners.
4343
The state-of-the-art Mixed Integer Linear Programming solver that acts as a controllable
4444
algorithm inside Ecole is `SCIP <https://scip.zib.de/>`_.

libecole/include/ecole/environment/environment.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace ecole::environment {
2828
* Environments are the main abstraction exposed by Ecole.
2929
* They characterise the Markov Decision Process task to solve.
3030
* The interface to environments is meant to be close to that of
31-
* [OpenAi Gym](https://gym.openai.com/), with some differences nontheless due to the
31+
* [OpenAi Gym](https://www.gymlibrary.dev/), with some differences nontheless due to the
3232
* requirements of Ecole.
3333
*
3434
* @tparam Dynamics The ecole::environment::EnvironmentDynamics driving the initial state and transition of the

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_cmake_in_package_install_args() -> List[str]:
5555
"""Return default installation settings for installing libecole in the package."""
5656
system = platform.system()
5757
if system == "Linux":
58-
origin = r"\${ORIGIN}"
58+
origin = r"${ORIGIN}"
5959
elif system == "Darwin":
6060
origin = "@loader_path"
6161
else:

0 commit comments

Comments
 (0)