all-at-once fit - problems with constraints
Hi,
I would like to make multivariate all-at-once fit with many coefficients (K[0], K[1], ..., K[n]). I need to constrain coefficients using absolute value of the difference between subsequent coefs:
abs(K[i+1] - K[i])<0.1.
Is there a possibility to realize such kind of constraints? I found in the Igor manual that only linear combinations of coefs are allowed?
I would be grateful for an answer.
Rafal
Your problem description is a bit terse.
February 29, 2020 at 05:45 am - Permalink
In reply to Your problem description is… by thomas_braun
Hi,
I use the following command to make a fit:
where w_m is matrix with constraints and l_w is a vector with limits.
(I'm sorry, but previously I deleted the content of the post trying to edit it.)
March 2, 2020 at 06:26 am - Permalink
Your constraint is linear except for the call to abs(). You can achieve that constraint with two constraints:
March 2, 2020 at 10:03 am - Permalink
In reply to Your constraint is linear… by johnweeks
Thanks a lot, it works.
December 20, 2021 at 04:23 pm - Permalink