Code Monkey home page Code Monkey logo

lp_max_clique's Introduction

Description

Implementation branch and bound algorithm for maximum clique problem in formulation as an continuous nonconvex optimization problem.

Detailed information in this paper: http://www.dcs.gla.ac.uk/~pat/jchoco/clique/indSetMachrahanish/papers/The%20Maximum%20Clique%20Problem.pdf

Instructions

This is Python 3.5.2 realization Required:

  • NetworkX library
  • CPLEX for Python 3.5

To run script you should specify following parameters:

  • --path - path to DIMACS-format graph
  • --time - time limit in seconds

All this graphs are placed in samples folder.
More of them you can find here: http://mat.gsia.cmu.edu/COLOR/instances.html
Huge ones: http://iridia.ulb.ac.be/~fmascia/maximum_clique/DIMACS-benchmark#detC125.9

Results

Graph name #Nodes #Edges Found clique length Time(ms)
MANN_a9.clq 45 918 16 559.974 ms
c-fat200-1.clq 200 1534 12 2488.318 ms
c-fat200-2.clq 200 3235 24 294.705 ms
c-fat500-1.clq 500 4459 14 27029.180 ms
C125.9.clq 125 6963 34 855937.042 ms
c-fat200-5.clq 200 8473 58 10224.952 ms
c-fat500-2.clq 500 9139 26 7544476.644 ms

lp_max_clique's People

Contributors

donfaq avatar

Watchers

James Cloos 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.