Balanced solution of multiclass deterministic assignment through the LUCE algorithm