Giter Site home page Giter Site logo

tintinyoung / ant-colony-optimization Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amanmokama/ant-colony-optimization

0.0 2.0 0.0 1.24 MB

Virtual Machine Placement Problem project under Asst. Prof. Amogth Tarachand, Indian School of Mines, Dhanbad.

C++ 100.00%

ant-colony-optimization's Introduction

Ant-Colony-Optimization

Virtual Machine Placement Problem project under Asst. Prof. Amgoth Tarachand, Indian School of Mines, Dhanbad.

Input type:

1.There must exist a solution of the problem. 2.All servers must have capacity of atleast twice of maximum capacity of largest vm requirement of each objective. 3.Sum of CPU demands of all vm's must be less than sum of Threshold CPU of all servers. 4.Sum of MEM demands of all vm's must be less than sum of Threshold MEM of all servers.

->For input type, a testCaseGenerator is developed, which generatea text file of testcase. ->Main program takes input from testcase.txt generated by testCaseGenerator.

Output type

->Output of testCaseGenerator is saved in testcase.txt. ->Main program generate two text files, one is Solution.txt and other is DataFile.txt (Used for graphical representation)

NOTE: ->Max size is set to 50, can be increased upto 100

->Adjust the number of ants and number of iterations according to size of input, otherwise it runs out of memory and shows runtime error.

->For number of vm=100 number of ants=4 and number of iterations=1

->For number of vm=50 number of ants=15 and number of iterations=5

ant-colony-optimization's People

Contributors

2012je0760 avatar deepsingh37 avatar

Watchers

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