initial upload of optimization code