On this page
Instituto Superior Técnico

MEIC-A · Instituto Superior Técnico

Algorithms for Computational Logic

ALCCourse Page
  • 6 ECTS
  • P1
  • Exam: Mandatory
Overall
5
4
4
1
3
0
2
0
1
0
4.8
★★★★★
5 ratings
Workload
Very light
0
Light
2
Moderate
1
Heavy
1
Very heavy
0
Moderate4 ratings

Feedback

2025/2026
★★★★★
Workload:Heavy

5 months ago

Aulas práticas: Recomendo bastante a presença em todas as aulas práticas, os professores dão bastante ajuda para os projetos e fazemos várias demonstrações de exercícios que vão sair no exame final
Os projetos abordam sempre um exercício de otimização de horários (NSP) com técnicas de MAXSAT e SMT.

★★★★★
Workload:Light

8 months ago

Theoretical Classes → pretty important IMO - would not skip them. The lecturer, Vasco Manquinho, is also pretty good at teaching. The slides are good though.

Practical Classes → Professor Antonio Morgado taught these. In these classes we went through some exam-style practical exercises and coding exercises similar to what is expected for the project, I recommend going.

Project → split into two stages, first you code a SAT solution and then a SMT one for the same exact problem. A simple, short, not too complex python file was used for both, easily doable especially if you attend...

2024/2025
★★★★★
Workload:Moderate

8 months ago

Esta cadeira é das mais interessantes que já tive e o professor explica muito bem. Os slides são muito bons. Os projetos são acessíveis mas os testes públicos disponibilizados são demasiado simples, comparando com os testes privados que o professor usa para avaliar, e não há informação dos tempos de execução previstos para termos noção da qualidade da nossa implementação. O exame tem nível de dificuldade moderado, e sendo uma cadeira de 1.º período o exame de recurso é só vários meses depois de a cadeira acabar, pelo que seria preferível fazer dois testes ao longo do período e um exame de...

★★★★★
Workload:Light

last year

The reviews below this point may be outdated. Course content, teaching methods, and requirements may have changed since then.

2020/2021Pre-MEPP
★★★★★

5 years ago

I liked the course, though I understand it's not for everyone — it’s exactly what the name suggests: algorithms and logic.

There are three small projects with the same problem, each solved in a different paradigm. I found the first one the hardest because it was more abstract, but overall they were all relatively easy to complete (you can do them all in Python using the provided interfaces).

Completing the projects and solving previous exams is enough to prepare for the exam. I recommend attending the lab sessions; I didn't go to the lectures, and I don't think I missed much. I recommend the...

About the course

Objectives

Logic is one of the pillars of Computer Science (CS), finding application in all areas of CS. Concrete examples include databases, intelligent information systems, artificial intelligence, but also specification, validation and verification of software, hardware and networks. The main goal of this course is to provide advanced training in approaches for solving logic-based computational problems. Students will be able to analyze, model and solve computationally hard problems using logic. Moreover, students will be able to understand the essential engineering aspects in building software for logic problems: implementation of deductive systems, algorithms and data structures fundamental in the implementation of Logic-based tools.

Syllabus

Decision problems in propositional logic (Boolean Satisfiability, SAT).Examples of modeling using propositional logic. Algorithms for SAT. Decision problems in first-order logic. The Satisfiability Modulo Theories (SMT) problem. Problem encodings for SAT. Algorithms for SMT. Encodings for propositional logic. Answer Set Programming (ASP): algorithms and modeling examples. Relationship with propositional logic. Function and enumeration problems for SAT, SMT and ASP: including optimization problems and over specified sets of constraints. Decision, function and enumeration problems with quantified propositional variables. Application examples.

Prerequisites

Students should be able to program using one of the following programming languages: C, Python or Java. Basic knowledge of algorithms, data structures and logic.

Cross Competence Component

This course fosters critical thinking and innovation through the analysis and proposal of new solutions for several problems. The course projects are open, stimulating the student's creativity in their quest of new and better solutions. Furthermore, all course projects must be made in groups of students and its success is dependent on the quality of teamwork.

Laboratorial Component

Laboratories are dedicated to solving problems by modeling in the paradigms discussed in the theoretical lectures. Laboratories are also dedicated to help the students with the projects.

Programming And Computing Component

In this course, the programming and computing components are assured according to the criteria defined in MEPP 2122.

Ethical Principles

All members of a group are responsible for the group's work. In any assessment, every student shall honestly disclose any help received and sources used. In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Something missing or out of date?

Assessment

There is a practical (P) and theoretical (T) component. The P is the average of two small projects and T is an exam. The total grade is the average of T and P, i.e. (T+P)/2. The minimal requirements are T>= 8 and P>=8.

Has the assessment changed, or is something missing?

Bibliography

Bibliografia Principal

  • Handbook of Satisfiability: A. Biere, M. Heule, H. van Maaren and T. Walsh 2021 IOS Press

Bibliografia Secundária

  • Handbook of Knowledge Representation: F. Van Harmelen, Vladimir Lifschitz, and Bruce Porter 2008 Elsevier

Missing a book or some materials?