<commit_before>---
layout: single
type: example
author_profile: false
excerpt: "Model predictive control, receding horizon control, discrete-time dynamic planning, or what ever you want to call it."
title: Model predictive control - Basics
tags: [MPC, Quadratic programming]
comments: true
date: '2016-09-16'
sidebar:
  nav: "examples"
header:
  teaser:
---

To prepare for the hybrid, explicit and robust MPC examples, we solve some standard MPC examples. As we will see, MPC problems can be formulated in various ways in YALMIP.

To begin with, let us define the numerical data that defines our LTI system and the control problem.<commit_msg>Update 2016-09-17-standardmpc.md<commit_after>---
layout: single
type: example
author_profile: false
excerpt: "Model predictive control, receding horizon control, discrete-time dynamic planning, or what ever you want to call it."
title: Model predictive control - Basics
tags: [MPC, Quadratic programming, Simulation]
comments: true
date: '2016-09-16'
sidebar:
  nav: "examples"
header:
  teaser:
---

To prepare for the hybrid, explicit and robust MPC examples, we solve some standard MPC examples. As we will see, MPC problems can be formulated in various ways in YALMIP.

To begin with, let us define the numerical data that defines our LTI system and the control problem.
{'fraction_non_alphanumeric': 0.07202426080363912, 'fraction_numerical': 0.01819560272934041, 'mean_word_length': 4.714285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7137609', 'n_tokens_mistral': 386, 'n_tokens_neox': 361, 'n_words': 183}