• Non ci sono risultati.

Methods and Models for Combinatorial Optimization Lab exercise - Part II

N/A
N/A
Protected

Academic year: 2021

Condividi "Methods and Models for Combinatorial Optimization Lab exercise - Part II"

Copied!
1
0
0

Testo completo

(1)

Methods and Models for Combinatorial Optimization

Lab exercise - Part II

L. De Giovanni, M. Di Summa

For the combinatorial optimization problem described in Part I, it is required to:

• design and implement an ad-hoc optimization algorithm, as an alternative to solving the implemented model with Cplex. Any meta-heuristic can be developed, as well as any of the approaches presented for the Travelling Salesman Problem (e.g., a Branch-and- cut approach based on separating sub-tour elimination constraints). You can also keep inspiration from any method you can find in literature for related problems, if it is related to the content of the course: if you decide to start from some algorithm you find in literature, you should ask to the teacher before starting the implementation;

• it is allowed (in particular for “non-computer scientists”) the use of available optimization libraries like Matlab genetic algorithms, or Python libraries. Of course you can find ready- to-use code for the TSP but, in this case, you should add some functionalities to the available code (e.g. some more initialization options, intensification/diversification phases, ad-hoc mutations etc.);

• test the performance of the implemented method, present the computational results and compare the results to the ones obtained with the model solved by Cplex in Part I (use the same instances generated for Part I). Typical questions to be addressed during the performance test are: what are the running times? what is the gap with respect to the op- timal solution? It is better to use the proposed heuristic or the Cplex model? etc. Notice that, you should have more than one instance per size, so that average results should be provided. Moreover, in case the implemented algorithm has randomized components, you should eithr have a large number of instances, or rerun several (e.g. 10) times the algo- rithm on the same instance and collect statistics (average times or performance, standard deviations, min, max etc.);

• write a final report (10-20 pages) where you describe how you implemented the model of Part I in Cplex (some implementation details, for example, about the maps used to access variables, or how you created variables and constraints), some design issue concerning the algorithm of Part II (not the general heuristic or branch-and-bound that one can find in the notes or in a book, but how the method was customized), the feature of any used libraries (where applicable), and the computational results (summarizing tables and some comments) of both Part I and Part II, and their comparison.

1

Riferimenti

Documenti correlati

Solving an optimization problem formulated as a mathematical programming model means deciding the values of the variables that satisfy all the constraints and maximize or minimize

For example, when problems are strongly constrained and a feasible solution is not available, a first step is to find a feasible solution, which can be done by starting from

In the one-dimensional cutting stock problem we transformed the column generation subproblem into an easily solvable integer linear programming problem. In other cases,

Indeed, at any time during the construction of the Branch-and-Bound tree we know a lower bound LB (given by the value of the incumbent solution), but also an upper bound U B, given

Note that this problem is very similar to the original knapsack problem (1)–(4), and therefore it would probably be better to solve directly the original problem rather than solving

Consider the following combinatorial optimization problem and the proposed Integer Lin- ear Programming (ILP) model.. The exercise is to implement the model using the Cplex

Test should determine the ability of the model to provide exact solutions for the proposed problem: in particular we want to know up to which size (namely the number of holes)

• write a final report (10-20 pages) where you describe how you implmented the model of Part I in Cplex (some implementaion details, for example, abouot the maps used to