Optimal reduction of calibration charts by integer programming