Hello,

When calculating least-squares we use the form Xw=y
(where X is a matrix and y is a vector of appropriate dimensions).

This gives us an approximation, and it can happen that the resulting w will be such that Xw<y.

Is there a way how to make every entry in w big enough so that every Xw≥y?

And is it possible, at the same time, to make sure every entry in Xw is less that some other number?

Thank you
Best regards
hugo