added simplex_constraints and threaded multi-iter