https://github.com/saagie/spark-or-integration-tests
Spark Operations Research - Integration tests and samples
https://github.com/saagie/spark-or-integration-tests
Last synced: 9 months ago
JSON representation
Spark Operations Research - Integration tests and samples
- Host: GitHub
- URL: https://github.com/saagie/spark-or-integration-tests
- Owner: saagie
- License: apache-2.0
- Created: 2016-03-17T15:10:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-21T12:24:36.000Z (almost 10 years ago)
- Last Synced: 2025-06-02T16:22:28.355Z (about 1 year ago)
- Language: Scala
- Homepage:
- Size: 20.5 KB
- Stars: 3
- Watchers: 13
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#SparkOR Integration Tests
This repository aims at realizing the integration and validation tests for the library [SparkOR](https://github.com/saagie/spark-or).
##How to run the tests
The following steps are needed to build the tests:
- Clone the repository.
- Create a lib subdirectory inside of the cloned repository if it does not exist.
- Install lp-solve (apt-get install lp-solve on Ubuntu).
- Download lp_solve_5.5.2.0_java.zip on https://sourceforge.net/projects/lpsolve/files/lpsolve/5.5.2.0/
- Extract lib/ux64/liblpsolve55j.so and lpsolve55j.jar into the lib directory you previously created.
- Add the directory containing liblpsolve55.so to your library path (on Ubuntu: export LD_LIBRARY_PATH=/usr/lib/lp_solve/
- Build the tests using sbt compile
- Run the tests using sbt run (or sbt "run --disable-lpsolve" if you do not want to use lpsolve).
##Wiki
The Wiki is accessible [here](https://github.com/saagie/spark-or-integration-tests/wiki)
It contains a lot of information including :
* the [architecture](https://github.com/saagie/spark-or-integration-tests/wiki/Architecture) of SparkOR Integration Tests
* how to use the library to make you own [tests]()