Monday, February 5, 2018

Modern Optimization in Energy - Summer School

DTU CEE Summer School 2018 Modern Optimization in Energy will be held June 24-29, 2018 at the Technical University of Denmark. This is the third edition of the summer school. See list of speakers, program and how to apply (until March 18th).

Just like last year MOSEK is one of the sponsors of the meeting and of two MOSEK scholarships for outstanding student participants.

Wednesday, January 31, 2018

Version 9 roadmap

MOSEK version 9 is scheduled for release some time during 2018. In this blog post we will outline some of the expected changes. Please note this is subject to change and hence the blogpost will be updated occasionally.

The major new feature in version 9 is support for exponential cone

$$x\geq y\exp(z/y)$$

and power cone

$$x^\alpha y^{1-\alpha}\geq |z|$$

This has the implication that almost any practical convex optimization problem can be formulated directly on conic form. That includes modeling functions such as $x^\alpha$, $x^{1.5}$, $\log{x}$, $e^x$, relative entropy, $p$-norm, logistic, Kullback–Leibler divergence, Cobb-Douglas etc.

Mixed-integer optimization will be available for all conic problems without semi-definite matrix variables. Hence, version 9 should be able to handle almost all mixed-integer optimization problems appearing in practice.

An advantage of moving to the conic form is that it become possible for MOSEK to solve the dual problem if deemed worthwhile. This sometimes leads to dramatic speed ups.

The general nonlinear convex optimizer will be dropped, since optimization problems in conic form are preferred for efficiency and stability reasons. Quadratic and quadratically constrained problems remain unaffected.

Below the planned changes are listed in some detail. Please send us an e-mail to if you have questions or comments.

Feature changes

  • Adding support for the exponential and power cones in all interfaces.
  • Adding mixed-integer support for new cone types.
  • Dropping support for general convex optimization problems.

Interface changes

  • Remove SCopt, DGopt, EXPopt which depended on the general nonlinear optimizer. There will be a drop-in replacement for SCopt which converts current data format into conic form.
  • Remove scopt which depended on the general nonlinear optimizer.
  • Remove mskenopt, mskscopt and mskgpopt which depended on the general nonlinear optimizer.
  • Fusion for MATLAB will be dropped due to technical issues and low demand. 
  • Improved performance.

Other changes

  • Vastly improved performance on the AMD Ryzen family of CPUs. 
  • New version of the Modeling Cookbook adapted to new conic features.
  • Dropped support reading and writing XML formatted files.  

Thursday, December 21, 2017

Christmas 2017

Sales and support will be closed on 25,26 December and 1 January.

We wish everyone good holiday.
The Christmas trees were created using logistic regression with different levels of regularization. Our implementation used the exponential cone which will be introduced in MOSEK version 9, to be released in 2018. Stay tuned!

Wednesday, December 6, 2017

Workshop: Mixed-integer conic optimization

We are pleased to announce a MOSEK workshop on Mixed-integer conic optimization taking place on Thursday, January 11th, 2018 at our place in the Symbion research park, Copenhagen.

The workshop is free and open to everyone. There will be coffee, refreshments and time for discussions. Please register through this form to help us with planning.

14:00 - 14:05   Welcome (Erling Andersen)
14:05 - 14:50   Tristan Gally
15:00 - 15:45   Julio C. Góez
16:00 - 16:45   Joachim Dahl
17:30+ optional dinner (Nørrebro Bryghus)

  • Tristan Gally, TU Darmstadt, Applications and Solution Approaches for Mixed-Integer Semidefinite ProgrammingMixed-integer semidefinite programming (MISDP) has received increasing attention in recent years. MISDPs appear in many applications either by adding combinatorial decisions to nonlinear problems with natural SDP-formulations or by reformulating combinatorial optimization problems to incorporate stronger SDP-relaxations. While mixed-integer second-order cone programming has been adapted by many commercial solvers, MISDP remains a challenging problem, which so far has mostly been tackled by solution-specific approaches.

    In this talk, we want to present some interesting applications for MISDP from both combinatorial and nonlinear optimization. Afterwards, we will discuss problem-independent solution approaches, mainly concentrating on nonlinear branch-and-bound. Particularly, we will explain the importance of the Slater constraint qualification and its implications for using interior-point methods within a branch-and-bound approach. We will further discuss enhancing techniques like dual fixing and warmstarts and give numerical results comparing the different solution approaches and different implementations.
  • Julio C. Góez, NHH, Disjunctive conic cuts: the good, the bad, and implementation In recent years, the generalization of Balas disjunctive cuts for mixed integer linear optimization problems to mixed integer non-linear optimization problems has received significant attention. Among these studies, mixed integer second order cone optimization (MISOCO) is a special case. For MISOCO one has the disjunctive conic cuts approach. That generalization introduced the concept of disjunctive conic cuts (DCCs) and disjunctive cylindrical cuts (DCyCs). Specifically, it showed that under some mild assumptions the intersection of those DCCs and DCyCs with a closed convex set, given as the intersection of a second order cone and an affine set, is the convex hull of the intersection of the same set with a parallel linear disjunction. The key element in that analysis was the use of pencils of quadrics to find close forms for deriving the DCCs and DCyCs. The first part of this talk will summarize the main results about DCCs and DCyCs including some results about valid conic inequalities for hyperboloids and non-convex quadratic cones when the disjunction is defined by parallel hyperplanes. In the second part, we will discussed some of the limitation of this approach to derive useful valid inequalities in the context of MISOCO. In the last part, we will briefly describe the software libraries that together constitute DisCO, a full-featured solver for MISOCP which we are currently used to explore the potential of DCCs and DCyCs.
  • Joachim Dahl, MOSEK, Mixed-integer conic optimization using MOSEK
    Recently Lubin showed that all the convex instances of the nonlinear mixed-integer bench library MINLPLIB2 can be reformulated as conic optimization problems using 5 different cone types which are the linear, the quadratic, the semidefinite, the exponential and the power cones. The former three cones belong to the class of symmetric cones whereas the latter two belong to the class of nonsymmetric cones. We call modelling with affine expressions and the five previously mentioned cone types extreme desciplined modelling. Based on Lubin et al. and the experience at our company we claim almost all practical convex optimization can be expressed using extreme disciplined modelling so it is a general framework. Now it is much easier to build optimization algorithms and software for extreme disciplined optimization models rather than for general convex (unstructured) convex problems because of limited and explicit structure. This fact is exploited in the software package MOSEK to be discussed. The software package MOSEK has for many years been able to solve conic optimization over the symmetric cones but in the upcoming version 9 MOSEK can also handle two nonsymmetric cones i.e. the exponential and the power cone. In this presentation we will discuss the continuous and mixed-integer conic optimizer in MOSEK. In addition extensive computational results are presented that illustrate the performance of MOSEK on problems including nonsymmetric cones.

Thursday, November 9, 2017

Update in MOSEK Python implementation

All users of MOSEK version 8.1 from Python (especially Python Fusion API) are recommended to upgrade to version for efficiency reasons.

Monday, October 23, 2017

Machine learning in Julia Meetup

On Monday, November 20, 2017 we are hosting a meetup organized by JuliaCPH with the topic of Machine Learning in Julia. Enthusiasts of Julia, machine learning and optimization are welcome! For details see

Tuesday, August 22, 2017

MOSEK 8.1 is out

We are releasing MOSEK 8.1, an improved continuation of version 8.0.

Its main features are:
  • Much faster implementation of the Python Fusion API. Depending on the use case the overhead of Fusion is reduced by a factor of 3-10 on large models.
  • Introduced C++ Fusion API for 64bit Windows, at least for Microsoft Visual Studio 2015+.
  • Performance improvements in the conic optimizer and presolve. Particularly for problems with many dense columns.
  • Improved documentation for the Optimizer, Fusion and API reference. 
All interfaces are identical to that of 8.0, meaning a seamless update.

Platform support changes:
  • Introduced C++ Fusion for 64bit Windows.
  • Dropped support for Python 3.4.
  • Dropped the AMPL shell in 32bit Windows.
Quick links: