Skip to content

AMPL optimization algorithm for the disk packing problem. Coursework in Optimization Methods for Big Data 2016/2017.

License

Notifications You must be signed in to change notification settings

braineering/disk-packing

Repository files navigation

DISK PACKING

Disk packing problem, leveraging AMPL and Matlab.

Coursework in Optimization Models for Big Data 2016/2017

The disk packing problem is a well-known NP-hard problem. It consists in the maximization of the radius and number of non-overlapping disks in the unit square. In this work, we propose two equivalent formulation of the disk packing problem.

Usage

Run the standard formulation:

$disk-packing> ampl disk-packing.run

View the output:

$disk-packing> cat out/out-[N]_res.txt

where [N] is the number of disks.

Visualize the result executing the Matlab script disk-packing/disk-packing.m.

Run the equivalent formulation:

$disk-packing-equiv> ampl disk-packing-equiv.run

View the output:

$disk-packing-equiv> cat out/out-[N]_res.txt

where [N] is the number of disks.

Visualize the result executing the Matlab script disk-packing-equiv/disk-packing-equiv.m.

Authors

Giacomo Marciani, gmarciani@acm.org

Michele Porretta, mporretta@acm.org

License

The project is released under the MIT License.

About

AMPL optimization algorithm for the disk packing problem. Coursework in Optimization Methods for Big Data 2016/2017.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published