# 19 List of examples¶

List of examples shipped in the distribution of Optimization Toolbox for MATLAB:

File | Description |
---|---|

`callbackex.m` |
An example of a callback function writing to a log file |

`cqo1.m` |
A simple conic quadratic problem |

`eo1.m` |
A simple entropy optimization problem |

`feasrepairex1.m` |
A simple example of how to repair an infeasible problem |

`go1.m` |
A simple geometric optimization problem |

`go2.m` |
A simple geometric optimization problem |

`lo1.m` |
A simple linear problem |

`lo2.m` |
A simple linear problem |

`milo1.m` |
A simple mixed-integer linear problem |

`mioinitsol.m` |
A simple mixed-integer linear problem with an initial guess |

`nrm1.m` |
Solve a linear least-squares problem as a quadratic problem |

`nrm2.m` |
Solve a linear least-squares problem with constraints |

`nrm3.m` |
Solve a linear regression problem with infinity norm |

`nrm4.m` |
Solve a linear regression problem with L1 norm |

`nrm5.m` |
Solve a linear least-squares problem as a reformulated quadratic problem |

`production.m` |
Demonstrate how to modify and re-optimize a linear problem |

`qcqo1.m` |
A simple quadratically constrained quadratic problem |

`qo1.m` |
A simple quadratic problem |

`qo2.m` |
A simple quadratic problem |

`response.m` |
Demonstrates proper response handling |

`rlo1.m` |
Robust linear optimization example, part 1 |

`rlo2.m` |
Robust linear optimization example, part 2 |

`scopt1.m` |
Shows how to solve a simple non-linear separable problem using the SCopt interface |

`sdo1.m` |
A simple semidefinite optimization problem |

`sensitivity.m` |
Sensitivity analysis performed on a small linear problem |

`sensitivity2.m` |
Sensitivity analysis performed on a small linear problem |

`simple.m` |
A simple I/O example: read problem from a file, solve and write solutions |

`solutionquality.m` |
Demonstrates how to examine the quality of a solution |

Additional examples can be found on the **MOSEK** website and in other **MOSEK** publications.