Skip to content

Commit

Permalink
check for CPLEX
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreMaz committed Aug 16, 2021
1 parent 249eeb8 commit d284f84
Show file tree
Hide file tree
Showing 3 changed files with 343 additions and 333 deletions.
1 change: 1 addition & 0 deletions environment/custom/resource_v3/heuristic/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
try:
from environment.custom.resource_v3.heuristic.cplex_greedy_critical import CPLEXGreedyCritical
from environment.custom.resource_v3.heuristic.cplex_reduced_node import CPLEXReducedNode
cplex_found = True
except ModuleNotFoundError:
cplex_found = False
print('CPLEX lib is not installed')
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ gym==0.17.1
matplotlib==3.2.0
numpy==1.18.2
tensorflow==2.3.1
tensorflow-probability==0.11.1
tensorflow-probability==0.11.1
ortools==9.0.9048
Loading

0 comments on commit d284f84

Please sign in to comment.