My default LaTeX article template

When preparing a new LaTeX manuscript, we often do not know to which journal it will be submitted. Then we need a nice style to present the content. Likewise to reports and the likes.

LaTeX offers its amsarticle document class, which is generally good. I mean generally because it can (and should) be improved to meet one’s needs.

My needs are satisfied with the following template, which modifies the margins and adds my usually needed packages.

Continue reading

Installing Concorde TSP with CPLEX in Linux

Concorde TSP is one of the best solvers for the Traveling Salesman Problem. Its current version was released in 2003, but it is still considered to be the state of the art in its field.

CPLEX is a general purpose solver. It is also considered to be one of the best in its class.

In order to obtain exact solutions with Concorde, one needs to link it to a solver. However, Concorde’s documentation falls short, since in 2003 CPLEX’s version was 8.0, and it is currently under version 12.5 (as of november 2012).

In order to link and compile Concorde with CPLEX, you will need to make the following modifications:

Continue reading