MILES: MATLAB package for solving Mixed Integer LEast Squares problems

In GNSS, for fixing integer ambiguities and estimating positions, a mixed integer least squares problem has to be solved. The Matlab package MILES provides fast and numerically reliable routines to solve this problem. In the process of solving a mixed integer least squares problem, an ordinary integer least squares problem is solved. Thus this package can also be used to solve an ordinary integer least squares problem alone. An option to compute multiple solutions is provided. This paper gives a description of this package and provides a guide for using it.