objfun.m from Hyperthyroidism in the personalized medicine era: the rise of mathematical optimization

objfun.m is used to solve the developed optimization model (2.5) to derive the values of the parameters under consideration.