remove test code and add content to nonlinear program and interpolation and fitting,append to mixed integer program