Switch branches/tags
Nothing to show
Find file History
Pull request Compare This branch is 19 commits behind develop.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
.settings
src
.classpath
.project
README.md
pom.xml

README.md

ojAlgo CPLEX integration

Use CPLEX from within ojAlgo

Prerequisites

  • Basic knowledge of how to use ojAlgo to model and solve optimisation problems
  • CPLEX is installed and functional

This is what you need to do

  • The classpath must contain "this library", "ojAlgo" and the cplex.jar that IBM distributes together with CPLEX
  • The jvm property 'java.library.path' must contain the path to the cplex installation. In my case the path is: /Users/apete/Applications/IBM/ILOG/CPLEX_Studio_Community1262/cplex/bin/x86-64_osx
  • Execute this one line of code:
ExpressionsBasedModel.addIntegration(SolverCPLEX.INTEGRATION);