Constraint function has a signiture of type `function [C,CEQ,DC,DCEQ,parms] = EstimationConstraint1(x,logW,parms,data)` Objective function has been written in #71 Constrained minimisation algorithm should be in https://github.com/jump-dev/Ipopt.jl (something like the [`fmincon`](https://uk.mathworks.com/help/optim/ug/fmincon.html) function in Matlab)