dim is known only in SPGrid
Choose parallel constraints and solver