Description: Covert .sol file (by gurobi) to index file for subsampling gradients.
It is used for subsampling gradients by Mixed Integer Linear Programming (MILP)

Usage:  <solfile> <indexfile> -n <numberOfSamples> [-v] (-h | --help)

  -h --help                Show this screen.
  -v --verbose             Verbose
  -n <numberOfSamples>     number of samples used in shells

  "Designing Single- and Multiple-Shell Sampling Schemes for Diffusion MRI Using Spherical Code",
  Jian Cheng, Dinggang Shen, Pew-Thian Yap, MICCAI 2014.

Examples: solution_gurobi.sol indexInShells.txt -n 90,90,90

Author(s): Jian Cheng (

Copyright (c) 2015-2017 the dmritool contributors.
For more information, see