# 16 List of examples¶

List of examples shipped in the distribution of Fusion API for .NET:

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

`TrafficNetworkModel.cs` |
Demonstrates a traffic network problem as a conic quadratic problem (CQO) |

`alan.cs` |
A portfolio choice model `alan.gms` from the GAMS model library |

`baker.cs` |
A small bakery revenue maximization linear problem |

`breaksolver.cs` |
Shows how to break a long-running task |

`callback.cs` |
An example of data/progress callback |

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

`diet.cs` |
Solving Stigler’s Nutrition model `diet` from the GAMS model library |

`duality.cs` |
Shows how to access the dual solution |

`facility_location.cs` |
Demonstrates a small one-facility location problem (CQO) |

`lo1.cs` |
A simple linear problem |

`lownerjohn_ellipsoid.cs` |
Computes the Lowner-John inner and outer ellipsoidal approximations of a polytope (SDO, CQO) |

`lpt.cs` |
Demonstrates how to solve the multi-processor scheduling problem and input an integer feasible point (MIP) |

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

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

`nearestcorr.cs` |
Solves the nearest correlation matrix problem (SDO, CQO) |

`parameters.cs` |
Shows how to set optimizer parameters and read information items |

`portfolio.cs` |
Presents several portfolio optimization models |

`primal_svm.cs` |
Implements a simple soft-margin Support Vector Machine (CQO) |

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

`qcqp_sdo_relaxation.cs` |
Demonstrate how to use SDP to solve convex relaxation of a mixed-integer QCQO problem |

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

`sospoly.cs` |
Models the cone of nonnegative polynomials and nonnegative trigonometric polynomials using Nesterov’s framework |

`sudoku.cs` |
A SUDOKU solver (MIP) |

`total_variation.cs` |
Demonstrates how to solve a total variation problem (CQO) |

`tsp.cs` |
Solves a simple Travelling Salesman Problem and shows how to add constraints to a model and re-optimize (MIP) |

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