WIP Linear constraint optimizer.