I added the ray tracing constraint function and an n-dimensional smooth max function (needed for the constraint function).
I also created two example optimization files. One is for snopt (not yet tested), and the other is for Ipopt (still working out bugs). I am making the pull request now so that Jared can run the snopt optimization file for concave constraints to see if it works.
I added the ray tracing constraint function and an n-dimensional smooth max function (needed for the constraint function).
I also created two example optimization files. One is for snopt (not yet tested), and the other is for Ipopt (still working out bugs). I am making the pull request now so that Jared can run the snopt optimization file for concave constraints to see if it works.