This project has moved and is read-only. For the latest updates, please go here.

Bounds on MPFit

Oct 10, 2012 at 12:26 AM

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 5: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: