|
1 year ago | |
---|---|---|
doc | 1 year ago | |
gradle/wrapper | 3 years ago | |
instances | 1 year ago | |
src | 1 year ago | |
.gitignore | 3 years ago | |
README.md | 1 year ago | |
build.gradle | 1 year ago | |
gradlew | 3 years ago | |
gradlew.bat | 3 years ago | |
settings.gradle | 3 years ago |
This repository contains the starter code for the assignment.
For working on this project, we recommend using the IntelliJ-IDEA development environment. It is available in INSA’s
classrooms as well as on montp.insa-toulouse.fr
.
To import the project in IntelliJ (once IntelliJ is running):
Open project
or File > Open
gradle.build
file in the cloned repository.Open as project
.To run the program in IntelliJ, you can
src/main/java/Jobshop/Main
class in the project view.Run Main.main()
. It should complain that some arguments are missing.Run > Edit Configuration
, then fill in the Program arguments
text box.Compilation instructions are given for Linux. On Windows you can use the gradlew.bat
script (but you are on your own).
❯ ./gradlew build # Compiles the project
The project can be executed directly with gradle
by specifying the arguments like so :
❯ ./gradlew run --args="--solver basic random --instance aaa1 ft"
You can also build an executable jar file, and run it with the java command. This is especially useful if you want to run it on another machine.
# Create a jar file with all dependencies in build/libs/JSP.jar
❯ ./gradlew jar
# Run the jar file. Only requires a Java Runtime Environment (JRE)
❯ java -jar build/libs/JSP.jar --solver basic --instance ft06
Documentation for this project is available here : https://insa-4ir-meta-heuristiques.github.io/doc/