Which optimization package to use for constrained least squares?

Hi @robsmith11, I am new to Julia and I could not find out how to use the package Optim.jl (or any) to solve the problem you mention (but without the sum constraint)

I want to minimize (A*x - b)^2 subject to x ∈ [lower, upper]

With Optim.jl, I can easily solve this problem with the box constraints

I see that you figured out a way to use Optim.jl for it could you please share the syntax you used?

If you want to know more about the problem I have posted a question here: Is there any way to emulate MATLAB's Isqlin in Julia?

Thank you!