Code Monkey home page Code Monkey logo

seage's Introduction

SEAGE

SEAGE is a framework for metaheuristic collaboration. See more at https://www.seage.org

Build and run

Simply run the build script:

./scripts/build.sh

Then run the launcher which will provide you some help:

./scripts/run.sh

To see what is implemented run:

./scripts/run.sh info

To see what is implemented in more details for a specified problem run:

./scripts/run.sh details -p SAT

Run experiments

Traveling Salesman Problem (TSP) solved by the Genetic Algorithm:

./scripts/run.sh experiment-approach -a GeneticAlgorithm -i TSP:berlin52 -t 10 -n 10

Satisfiability Problem (SAT) solved by the Tabu Search

./scripts/run.sh experiment-approach -a TabuSearch -i SAT:uf20-01 -t 10 -n 10

Inspect results

H2 database

When running with no database uri specified, the results are stored in the local H2 database. You can inspect the results as follows:

java -jar seage-launcher/build/install/seage-launcher/lib/h2-*.jar

Provide the following information:

  • JDBC URL:jdbc:h2:<path-to-seage>/output/seage.local.h2
  • username: sa
  • password: empty

Running against the PostgreSQL server

DB_USER=<username> \
DB_PASSWORD=<password> \
DB_URL="jdbc:postgresql://<server>/seage" \
./scripts/run.sh experiment-single-random -a TabuSearch -i SAT:uf20-01 -t 10 -n 10

Development with Docker support

You can run SEAGE also from source against the database running in docker. There are three containers:

Start containers:

docker compose up database pgadmin

Run experiments

DB_URL="jdbc:postgresql://localhost:25432/seage" ./scripts/run.sh experiment-single-random -a TabuSearch -i SAT:uf20-01 -t 10 -n 10

Inspect results

The results can be inspected using pgAdmin at the address http://localhost:28080

Quick run

DB_URL=jdbc:postgresql://snoopy.lan:15432/seage ./seage report

seage's People

Contributors

daveomri avatar korchi avatar rickq avatar zmatlja1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.