Added nlopt variant