Servizi per la didattica
PORTALE DELLA DIDATTICA

Decision making and optimization

01TXCSM

A.A. 2021/22

Course Language

Inglese

Course degree

Master of science-level of the Bologna process in Data Science And Engineering - Torino

Borrow

01OUVOV

Course structure
Teaching Hours
Lezioni 50
Esercitazioni in aula 30
Teachers
Teacher Status SSD h.Les h.Ex h.Lab h.Tut Years teaching
Della Croce Di Dojola Federico Professore Ordinario MAT/09 26,5 16 0 0 2
Teaching assistant
Espandi

Context
SSD CFU Activities Area context
MAT/09 8 C - Affini o integrative Attivitą formative affini o integrative
2021/22
The aim of the course is to provide students with theoretical and operational tools for modeling and solving decision making and optimization problems in data science and engineering. Those tools are powerful mathematical methods (models, algorithms, and software) to solve complex problems involving the minimization (or maximization) of objective functions, subject to given constraints. Starting from real-life optimization problems in data science and engineering, methods and algorithms for solving them will be studied. Particular attention will be paid to the computational complexity of the problems and the required solution methods.
The course aims to provide students with theoretical and operational tools to model and solve decision making and optimization problems in data science and engineering. Those tools are powerful mathematical methods (models, algorithms, and software) able to solve complex problems, which concern the minimization (or maximization) of objective functions, subject to given constraints. Stemming from real-life optimization problems in data science and engineering, we will study suitable methods and algorithms for their solution. Particular attention will be devoted to the computational complexity analysis of the considered problems.
Expected knowledge: Students will study methods and algorithms for solving constrained optimization problems. They will learn how to use existing linear continuous, linear integer and nonlinear solution methods and develop new ones. Particular attention will be given to optimization on graphs and networks. The computational complexity of optimization problems, which affects the choice of suitable solution algorithms, will be studied. The considered solution methods are both exact (Branch and Bound, Cutting Planes, Dynamic Programming) and approximated (heuristics and metaheuristics: tabu search, simulated annealing, genetic algorithms and other). Expected skills: Skills developed by students will consist of the construction of a problem solving mentality. This mentality will be based on mathematical models and related algorithms to solve decision making and optimization problems in data science and engineering.
Expected knowledge: Students will study methods and algorithms for solving constrained optimization problems. They will learn how to use existing continuous and integer mathematical programming solution methods. We will give particular attention to optimization on graphs and networks. The computational complexity of optimization problems, which affects the choice of suitable solution algorithms, will be studied. The considered solution methods are both exact (e.g. Branch and Bound, Branch and Cut, Dynamic Programming) and heuristic (constructive approaches and metaheuristics such as tabu search, simulated annealing, variable neighborhood search and others). Attention will be devoted to approximation algorithms with performance guarantee. Expected skills: Students are expected to develop a problem-solving mindset and skills in mastering mathematical models and related algorithms for the solution of decision making and optimization problems in data science and engineering.
Prerequisites - Students must know at least one of the following programming languages: C, C++, Java, R, and Python.
None
1. Linear programming: modeling techniques, basic concepts of the Simplex method and duality (10% of the course). 2. Computational complexity: problem classes P, NP, NP-complete, and CoNP-complete (5% of the course). 3. Exact optimization methods: Branch and Bound, Cutting Planes, and Dynamic Programming (20% of the course). 4. Heuristic optimization methods: greedy algorithms, GRASP, Beam Search, meta-heuristics (Tabu Search, Simulated Annealing, Genetic Algorithms, ACO, VNS, RBS), and math-heuristics (30% of the course). 5. Network flow problems: min cost flow and max flow (5% of the course). 6. Decision making under uncertainty: Stochastic Programming with recourse, Measures for Stochastic Programming, Progressive Hedging method (10% of the course). 7. Nonlinear Programming: theoretical conditions for unconstrained and constrained optimization, algorithms for unconstrained and constrained optimization (20%).
1. Linear programming: modeling techniques, basic properties of continuous linear programming and the Simplex Method. 2. Computational complexity: problem classes P, NP, NP-complete, NP-Hard; polynomial time reductions. 3. Exact optimization methods: Branch and Bound, Branch and Cut, Dynamic Programming. 4. Heuristic optimization methods: greedy algorithms, GRASP, Beam Search, meta-heuristics (Tabu Search, Simulated Annealing, Genetic Algorithms, VNS, RBS), and math-heuristics. 5. Approximation: polynomial and fully polynomial time approximation schemes, inapproximability, algorithms achieving constant approximation ratios. 6. Multiobjective optimization: non dominated solutions, goal programming, epsilon-constrained approach.
The course integrates hours of teaching and hours of practice, to the extent of about 60% and 40% of the course, respectively. Practice is carried out in the classroom and follows the lecture topics. In the laboratory LADISPE http://www.ladispe.polito.it/ up-to-date optimization solvers to solve real-size problems are available to the students. Instructions for their use will be provided in the classroom. Students are requested to form groups and prepare an assignment during the course. The assignment consists of developing a heuristic and related software for solving a given real-life optimization problem. The assignment results will be presented by each group to the whole class at the end of the course. Student who belong to the same group may work together using long distance communication tools (i.e. Skype, email etc.), so that also working or non-attending students can prepare the assignment. Moreover, it is not necessary that the final presentation of the assignment results is given by the whole group (at least half of the group is enough).
The course foresees teaching and exercises classes. Typically an exercise class is foreseen every two teaching classes. In the last week a mockup test is foreseen to allow the students a self-evaluation of their competences on the course topics.
R. Tadei, F. Della Croce, A. Grosso, Fondamenti di Ottimizzazione, Progetto Leonardo, Editrice Esculapio, Bologna, 2005. R. Tadei, F. Della Croce, Elementi di Ricerca Operativa, Progetto Leonardo, Editrice Esculapio, Bologna, 2010. M. Ghirardi, A. Grosso, G. Perboli, Esercizi Svolti di Ricerca Operativa, Progetto Leonardo, Editrice Esculapio, Bologna, 2009. R.K. Ahuja et al., Network Flows, Prentice Hall, New Jersey, 1993. J.R. Birge, F. Louveaux, Introduction to Stochastic Programming, Springer, 2011. D. J. Luenberger, Linear and Nonlinear Programming, Springer, 3rd ed., 2008. G.L. Nemhauser, L.A. Wolsey, Integer and Combinatorial Optimization, Wiley, 1988. A. Ruszcynski, Nonlinear Optimization, Princeton Univeristy Press, 2006. Other learning material and examples of previous exams will be available on the course website.
Video-lessons of the course available in the course website. Slides and other learning material provided by the instructor. Below a list of relevant books on the course topics. R.K. Ahuja, T. L. Magnanti, J. B. Orlin, Network Flows, Prentice-Hall, New Jersey, 1993. D. J. Luenberger, Linear and Nonlinear Programming, Springer, 3rd ed., 2008. G.L. Nemhauser, L.A. Wolsey, Integer and Combinatorial Optimization, Wiley, 1999. G. Ausiello, A. Marchetti-Spaccamela, P. Crescenzi, G. Gambosi,M. Protasi, V. Kann, Complexity and Approximation: Combinatorial Optimization Problems and Their Approximability Properties, Springer, 2003, 2nd edition. V. Vazirani, Approximation algorithms, Springer, 2003. Examples of previous exams will be available on the course website and online.
Modalitą di esame: Prova scritta (in aula);
Exam: Written test;
The assessment is composed of two parts: the written test (2/3 of the final grade, i.e. up to 20/30) and the assignment (1/3 of the final grade, i.e. up to 10/30). The assignment consists of developing a heuristic and related software (in C, C++, or preferably in Java or Python) to solve a given real-life optimization problem. It will be developed by students subdivided into groups. The assignment will start the second week of the course. The results of the assignment will be presented by each group to the entire class and evaluated at the end of the course. The outcome of the assignment will be communicated within the date of the first exam call. A scale of 0 to 10 points will be used for the evaluation of the assignment. An assignment bonus is foreseen for the best groups. The validity of the assignment evaluation lasts for the current academic year. For the written test, the students will be asked, in writing, 3 theoretical and practical questions concerning specific topics of the whole program. The first question will consist of the construction of a mathematical model related to a given optimization problem. The candidate's level of preparation will be assessed in terms of achieving the following objectives (consistently with the expected learning outcomes): - knowledge of the optimization modeling techniques; - capacity to derive the main optimization algorithms. The written test has a duration of 1.5 hours. During the written test it will not be possible to consult texts, lecture notes, and forms. Furthermore, multimedia devices with access to the web (for example, smartphones, smartwatches, and tablets) are not allowed in the classroom. The outcome of the written test will be communicated to the students through a notice on the teaching portal. Students can view their written test and its assessment during a general meeting. The date of this meeting will be communicated to the students through a notice on the teaching portal in conjunction with the publication of the results of the written test. A scale of 0 to 22 points will be used for the evaluation of the written test. The exam is passed if the sum of the grade of the written test and the assignment is greater than or equal to 18/30. The honors will be awarded if that sum is 32/30.
Gli studenti e le studentesse con disabilitą o con Disturbi Specifici di Apprendimento (DSA), oltre alla segnalazione tramite procedura informatizzata, sono invitati a comunicare anche direttamente al/la docente titolare dell'insegnamento, con un preavviso non inferiore ad una settimana dall'avvio della sessione d'esame, gli strumenti compensativi concordati con l'Unitą Special Needs, al fine di permettere al/la docente la declinazione pił idonea in riferimento alla specifica tipologia di esame.
Exam: Written test;
The assessment is composed of a written test The students will have to answer to 5-6 theoretical and practical questions concerning specific topics of the whole program. The candidate's competences will be assessed in terms of achieving the following objectives (consistently with the expected learning outcomes): - knowledge of the optimization modeling techniques; - capability in deriving the main optimization algorithms. The written test lasts approximately 1.5 hours. During the written test it will not be possible to consult texts, lecture notes and forms. Multimedia devices with access to the web (e.g., smartphones, smartwatches, and tablets) are not allowed in the classroom. The outcome of the written test will be communicated to the students through a notice on the course website. Students can view their written test and its assessment during a general meeting. The date of this meeting will be communicated to the students through a notice on the course website together with the publication of the written test grades. A scale of up to 33 points will be used for the evaluation of the written exam. The exam is passed in case of a mark greater than or equal to 18/30. The honors will be awarded in case of a mark greater than or equal to 32/30.
In addition to the message sent by the online system, students with disabilities or Specific Learning Disorders (SLD) are invited to directly inform the professor in charge of the course about the special arrangements for the exam that have been agreed with the Special Needs Unit. The professor has to be informed at least one week before the beginning of the examination session in order to provide students with the most suitable arrangements for each specific type of exam.
Modalitą di esame: Prova scritta tramite PC con l'utilizzo della piattaforma di ateneo;
The exam takes place with the help of the Exam platform (accessible from the student page, in the "Esami in remoto" section, 30 minutes before the start of the appeal to which you are enrolled), the Virtual Classroom and the Elaborati section (tab accessible from the main web page of the course). Besides, the Respondus software is used to inhibit any software in addition to the browser on the student computer. The exam program and its structure remain unchanged compared to what is written in the Study Manifesto. Furthermore, due to possible complications introduced by the remote mode, the exam difficulty and length are reduced, so that it can be completed in one hour and a half instead of in two hours, as in previous years. The remaining hour, of the two and a half hours available for the exam, will be devoted to perform Phases I and III (see below). Equipment needed ? A computer (hereafter PC) equipped with a webcam, microphone, speakers, and internet access [will mainly serve to view the exam text]. The "Respondus LockDown Browser" program must be installed on the PC. The PC must be connected to the power outlet for the duration of the test. ? A mobile device, such as a mobile phone or tablet (henceforth CELL), equipped with a camera and internet access [will be used to interface with the teacher and for the final scan/upload of the homework]. An app for creating pdfs from camera images must be installed on the CELL (CamScanner is recommended). The CELL must be connected to the power outlet for the duration of the test. All on-screen notifications must be disabled (e.g., WhatsApp, Telegram, email messages, etc.). ? Pen and enough white sheets. The use of any other electronic device, accessory or peripheral (e.g., earphones, headphones, smartwatches, cell phones, additional screens, etc.) is not allowed. The use and consultation of books, notes, or other materials are not allowed. However, the use of pencils, erasers, and rulers is allowed. It is also possible to have something to drink (e.g., a bottle of water). The exam must be carried out in a quiet and adequately lit place in your home, free of other people for the duration of the test. The CELL must be positioned in such a way that a good and full camera frames the student's torso/face and position (hands and sheets). Furthermore, the CELL must not be reachable by the student when sitting at the desk. We recommend finding the best location in advance. Conduct of the test The conduct of the test, lasting a total of two and a half hours, involves the following steps in sequence. PHASE I - Appeal and checks [maximum 40 min] The student connects to the Virtual Classroom through the CELL within the time indicated for the exam, keeping the webcam and microphone temporarily disabled, and awaits the teacher's instructions. The invitation to the Virtual Classroom will be sent 30 minutes before the exam begins. The student also connects to Exam via PC, where the exam topic will be present (but will not be accessible because it is password protected). The teacher starts the registration and carries out the appeal. The student who, for any reason, will not respond to the appeal within 15 minutes of its start will be considered "absent". The teacher then interacts with each student (who will activate the CELL webcam and microphone). The student will be asked to: ? show a valid identification document ? show the compliance of the workplace and the surrounding environment ? position the CELL and stabilize the frame, which must be maintained for the whole duration of the exam. The CELL is muted, and the student sits at the station, waiting for the start of the test. PHASE II - Examination procedure [1 hour and a half] 1. The teacher orally communicates the password to all those present. 2. The student starts the exam (this involves Respondus blocking the browser) and carries out the test. 3. At the end of the time, notified by the teacher, all students immediately stop writing. The student who finishes first must still wait for the deadline. PHASE III - Loading the homework [maximum 20 min] 1. Upon instruction from the teacher, students stop the browser block (Respondus) on the PC and the audio/video streaming on Virtual Classroom from the CELL and access the Virtual Classroom via PC (with webcam and audio-activated). 2. Through the CELL, the student scans his/her assignment and uploads it to the portal in the appropriate "Processed" section (see the upload and format of the assignment). Students are advised to recheck by downloading it to the PC from the "Elaborati" section, that the uploaded file is readable, correct, and complete. If not, delete the old version and upload a new one. 3. The student, satisfied with its uploading, communicates it to the teacher. The teacher makes sure of the delivery and communicates to the student that he/she is free to leave the Virtual Classroom, ending the exam. Students, who for any reason, have not been able to upload their assignment will be considered "withdrawn". Only the parts of the homework delivered will be evaluated. Uploads/cancellations of exams after the end of the exam will not be evaluated. Other important clarifications Homework upload and format Each sheet of the assignment must include the student's family name, name, and registration number. The student must upload ONE SINGLE FILE, in pdf format and named "FamilynameName.pdf", obtained by aggregating the photographs of the different sheets through a particular app (e.g., CamScanner). The behavior to be maintained for the duration of the test ? the audio/video streaming both in and out of the CELL must be active; ? it is not possible to get up or move away from the position; ? it is not possible to contact/communicate with other people outside the teacher; ? no one must enter the student's room; ? it is not possible to use the CELL except during the initial control or final loading phases of the homework, and only for those operations; ? it is not possible to eat. Maximum silence is recommended so as not to disturb other students. Anyone wishing to ask a question during the test can do so by specifying their family ame and name first. Withdrawals A student can withdraw from the exam at any time. In that case, however, the student must have the following behavior: ? communicate their decision to the teacher, who will notify the withdrawal. This decision will be permanent; ? must remain connected to the Virtual Classroom and comply with the above rules until the end of Phase II. At that point, must not upload any files and can abandon the Virtual Classroom. Infringements The exam is invalidated for anyone, for any reason, who does not comply with even one of the rules above or who is discovered (even later with the aid of the registrations) in behaviors that do not comply with them. If these violations occur during the test, students must withdraw at the request of the teacher, and they must behave as in "Withdrawals". Based on the gravity of the infringement, the teacher may decide whether to communicate this behavior to the appropriate University disciplinary commissions. Special Needs Students who request Special Needs will have 30% more time (therefore, half an hour more) available for the test. In any case, at the end of PHASE II, those students will also temporarily stop writing, so that the teacher can devote himself to the delivery by the other students, and they are not disturbed by these operations. Once the delivery is over, and silence returns, those students can resume their test. Emergencies For any emergency during the exam, students can call the following mobile numbers: Prof. Roberto Tadei 335 6604376 Prof. Daniele Manerba 339 5454453. Honor code At least 48 hours before the start of the exam and not earlier than 7 days from the day of the exam, students enrolled in the exam must upload a file in pdf format on the course portal under "Elaborati", called "SurnameName_codeofhonour.pdf" , containing the form "CODE-OF-HONOR-STATEMENT ON WRITTEN & ORAL EXAMS IN REMOTE MODE", duly completed and signed. Students who do not upload the file within the scheduled time cannot take the exam. Rating As usual, students will receive notification of the test result via the portal. At the same time, the date and time of the vision of the homework will be communicated, which will take place through Virtual Classroom. The registration of the exam will immediately follow the vision of the homework. Students, who wish to reject their mark, even after viewing the assignment, must communicate it by email to Prof. Tadei (roberto.tadei@polito.it) by the date of registration.
Exam: Computer-based written test using the PoliTo platform;
The assessment is composed of a written test. The students will have to answer to 5-6 theoretical and practical questions concerning specific topics of the whole program. The candidate's competences will be assessed in terms of achieving the following objectives (consistently with the expected learning outcomes): - knowledge of the optimization modeling techniques; - capability in deriving the main optimization algorithms. The written test lasts approximately 1.5 hours. The outcome of the written test will be communicated to the students through a notice on the course website. A scale of up to 33 points will be used for the evaluation of the written exam. The exam is passed in case of a mark greater than or equal to 18/30. The honors will be awarded in case of a mark greater than or equal to 32/30. The written test takes place with the help of the Exam platform (accessible from the student page, in the "Esami in remoto" section, 30 minutes before the start of the test), the Virtual Classroom and the Elaborati section (tab accessible from the main web page of the course). Besides, the Respondus software is used to inhibit any software in addition to the browser on the student computer. Equipment needed ? A computer (hereafter PC) equipped with a webcam, microphone, speakers, and internet access [will mainly serve to view the exam text]. The "Respondus LockDown Browser" program must be installed on the PC. The PC must be connected to the power outlet for the duration of the test. ? A mobile device, such as a mobile phone or tablet (henceforth CELL), equipped with a camera and internet access [will be used to interface with the teacher and for the final scan/upload of the homework]. An app for creating pdfs from camera images must be installed on the CELL (CamScanner is recommended). The CELL must be connected to the power outlet for the duration of the test. All on-screen notifications must be disabled (e.g., WhatsApp, Telegram, email messages, etc.). ? Pen and enough white sheets. The use of any other electronic device, accessory or peripheral (e.g., earphones, headphones, smartwatches, cell phones, additional screens, etc.) is not allowed. The use and consultation of books, notes, or other materials are not allowed. However, the use of pencils, erasers, and rulers is permitted. It is also possible to have something to drink (e.g., a bottle of water). The exam must be carried out in a quiet and adequately lit place in your home, free of other people for the duration of the test. The CELL must be positioned in such a way that a good and full camera frames the student's torso/face and position (hands and sheets). Furthermore, the CELL must not be reachable by the student when sitting at the desk. We recommend finding the best location in advance. Special Needs Students who request Special Needs will have 30% more time (therefore, half an hour more) available for the test. Rating Students will receive notification of the test results on the course website.
Modalitą di esame: Prova scritta (in aula); Prova scritta tramite PC con l'utilizzo della piattaforma di ateneo;
See "Assessment and grading criteria up to 2019/20 a.y." for the onsite exam. See "Assessment and grading criteria for online exam" for the online exam.
Exam: Written test; Computer-based written test using the PoliTo platform;
Online exam: See "Assessment and grading criteria for online exam". Onsite exam: As for the online exam, where the exam takes place in a classroom.
Esporta Word


© Politecnico di Torino
Corso Duca degli Abruzzi, 24 - 10129 Torino, ITALY
Contatti