This project has moved. For the latest updates, please go here.

Bounds on MPFit

Oct 9, 2012 at 11:26 PM

I'd like to add a non-negative constraint to my fit which I believe would be set in pars[].limit[] within the MPFit.Solve method.  I don't believe this is implemented within the vts and I would need to modify the optimizer Solve method to set this.  (Either hard code non-negative contraints there or add as parameter passed to method.)  Is this correct?

Oct 12, 2012 at 4:45 AM

That is correct - we have not implemented that in our examples of MPFit.Solve usage. I believe it is fully enabled in the C# MPFit implementation, however. There is an example of usage in the "TestGaussFix()" method of the csmpfit test project here: