Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 632 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 632 Bytes

YOU NEED

  1. npm
  2. nodejs
  3. python, gurobi
  4. coffeescript

RUN HEURISTIC

cd src
node --require coffeescript/register heuristic.coffee

the input folder name is hardcoded in the heuristic.coffee file on line: 266

state = new State readCSV '../data/Bool/and'

RUN ILP

first run heuristic (this will create src/layoutdata.coffee)

cd src
python ILP.py

RUN VISUALIZATION

 npm install
 npm start

Examples of generated images:

Dominance Layout Nat/27f

ILP Nat/27f

Dominance Layout AST

ILP AST