Description: 

The subject Optimization introduces students to the modelling and solving of optimization problems in computing and engineering contexts. Students will learn how to identify objectives, decision variables and constraints, and how to select and apply appropriate optimization strategies to obtain and evaluate solutions. The course combines theoretical foundations with a strong practical component, where students will implement and experiment with different optimization approaches and apply them to realistic problems. Throughout the course, particular emphasis is placed on problem formulation, algorithmic reasoning, solution quality and the analysis of trade-offs between computational effort and performance.

Type Subject
Obligatoria no de Primer
Semester
First
Course
3
Credits
6.00

Titular Professors

Previous Knowledge: 

Basic knowledge of programming, data structures and algorithm design. Familiarity with search algorithms, including uninformed and heuristic search, is recommended.

Objectives: 

The objective of this course is to introduce students to different optimization problems that support decision-making in business contexts, together with some of the algorithms used to solve them. By the end of the course, students will be able to adapt optimization problems to different needs and identify the best solution, while strengthening their skills in the design and implementation of algorithms.

Contents: 

1. Fundamentals of optimization and problem formulation:

    1.1. From search to optimization: feasible and optimal solutions

    1.2. Decision variables, parameters, constraints and objective functions

    1.3. Continuous and discrete optimization; exact and heuristic approaches

2. Mathematical modelling for optimization:

    2.1. Linear Programming: formulation and solution

    2.2. Advanced Linear Programming modelling

    2.3. Fundamentals of continuous optimization: convexity, gradients and optimality

    2.4. Non-linear modelling

    2.5. Statistical methods and introductory optimization under uncertainty

3. Exact and discrete optimization methods:

    3.1. Integer Programming

    3.2. Exact solution methods and solver-based optimization

4. Heuristic and metaheuristic optimization:

    4.1. Local Search

    4.2. Simulated Annealing

    4.3. Genetic Algorithms

5. Evaluation and comparison of optimization solutions:

    5.1. Solution quality and computational performance

    5.2. Time, scalability and maintainability analysis

    5.3. Comparison of optimization strategies and analysis of trade-offs

6. Applications of optimization in different domains:

    6.1. Optimization for decision support

    6.2. Application of optimization models and algorithms to real-world problems

    6.3. Adaptation of optimization models and solution strategies to changing requirements

Methodology: 

The Optimization course combines theoretical foundations with a strong practical and project-based learning approach. Theoretical sessions introduce the concepts, mathematical models and optimization techniques required to formulate and solve different types of problems. These concepts are reinforced through guided laboratory activities, where students implement and experiment with optimization models and algorithms using Python and appropriate optimization libraries and solvers. Throughout the course, students apply the acquired knowledge to progressively evolving optimization challenges, individually and in teams, analysing new requirements and adapting their models and solution strategies accordingly. This methodology aims to develop modelling, algorithmic reasoning, critical analysis and decision-making skills through the continuous connection between theory, implementation and the evaluation of optimization solutions.

Evaluation: 

The ordinary assessment is based on the progressive development of the optimization project throughout the semester and its final assessment. The final grade in the ordinary assessment period is calculated as follows:

Ordinary assessment grade = 15% Partial Project Deliverables + 30% Final Project Report + 25% Oral Presentation + 30% Individual Interview

To pass the course through the ordinary assessment, students must obtain a final weighted grade of at least 5.0 out of 10 and a minimum grade of 5.0 out of 10 in the Individual Interview. If the Individual Interview is failed, the ordinary assessment will be considered failed regardless of the weighted final grade.

Students who do not pass the ordinary assessment will take an individual written retake examination covering the learning outcomes and contents of the entire course, with particular emphasis on problem formulation, mathematical and statistical modelling, and on the selection and application of appropriate exact and approximate optimization methods.

Extraordinary assessment grade = 100% Written Retake Examination.

A minimum grade of 5.0 out of 10 is required to pass the course through the extraordinary assessment.

Evaluation Criteria: 

The following will be assessed:

  • The ability to formulate optimization problems by correctly identifying decision variables, objectives and constraints.
  • The ability to select and apply appropriate optimization models, algorithms and solution strategies according to the characteristics of the problem.
  • The correct implementation of optimization models and algorithms, and the ability to adapt them to changing problem requirements.
  • The ability to evaluate and compare optimization solutions considering solution quality, computational performance and relevant trade-offs.
  • The ability to analyse, interpret and justify the obtained results and the modelling and algorithmic decisions made.
  • The ability to communicate and defend the developed solution, demonstrating individual understanding of the work carried out and effective collaboration within the project team.

Basic Bibliography: 

Kochenderfer, M. J., & Wheeler, T. A. (2019). Algorithms for Optimization. The MIT Press.

Hillier, F. S., & Lieberman, G. J. (2021). Introduction to Operations Research (11th ed.). McGraw-Hill Education.

Talbi, E-G (2009). Metaheuristics: From Design to Implementation. John Wiley & Sons. 

Additional Material: 

Boyd, S., & Vandenberghe, L. (2004). Convex Optimization. Cambridge University Press.

Nocedal, J., & Wright, S. J. (2006). Numerical Optimization (2nd ed.). Springer.

Official documentation and learning resources for the optimization libraries and solvers used in the course, including PuLP, CBC, Google OR-Tools, SciPy and CVXPY.