Git Product home page Git Product logo

aidm-optimal-groups's Introduction

aidm-optimal-groups

Algorithms for Intelligent Decision Making - project for making "optimal" student groups & project matching

Setup / Install

This project depends on Google OR-Tools. Unfortunately, the tool itself is a .so / .dll c++ compiled library and interfacing with it happens through JNI.

Maven contains the Google OR-Tools Java wrapper but is not packaged together with the tool itself. Therefore, you need to do some minimal setup:

Please download the binary distribution for your platform here: https://developers.google.com/optimization/install/#binary

Then, make a 'lib' directory in the root of this repository and place the files contained in the 'lib' directory of the downloaded archive therein. On Windows, these are: com.google.ortools.jar, jniortools.dll, ortools.lib and protobuf.jar. MacOS has a lot of files, so copy all to be safe. If less works too, please update these instructions!

Running with IntelliJ

Add -Djava.library.path=lib (or an absolute/relative path to where you've extracted the binaries to) to the 'VM options' of your run configuration.

If you don't have a run configuration yet, simply click the green run arrow left of the void main(String[] args) function. IntelliJ will create a corresponding configuration and use it to run the application. It will probably crash without the abovementioned addition to the vm options as it cannot find the necessary libraries. But now you can make the change and run.

Gradle

It is possible to configure this through grade. However, even through my IntelliJ delegates run/debug to gradle, it didn't on my machine. Hence: future todo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.