Component architectures for distributed scientific problem solvingSolving linear inequalities in a least squares sense