BUG: optimize: begin to fix issues with lb==ub
BUG: optimize: begin to fix issues with lb==ub

WarrenWeckesser/scipy,WarrenWeckesser/scipy,perimosocordiae/scipy,grlee77/scipy,vigna/scipy,scipy/scipy,vigna/scipy,Stefan-Endres/scipy,scipy/scipy,tylerjereddy/scipy,ilayn/scipy,matthew-brett/scipy,matthew-brett/scipy,Stefan-Endres/scipy,zerothi/scipy,grlee77/scipy,Stefan-Endres/scipy,grlee77/scipy,andyfaff/scipy,endolith/scipy,mdhaber/scipy,tylerjereddy/scipy,scipy/scipy,perimosocordiae/scipy,perimosocordiae/scipy,vigna/scipy,mdhaber/scipy,scipy/scipy,zerothi/scipy,grlee77/scipy,zerothi/scipy,mdhaber/scipy,perimosocordiae/scipy,vigna/scipy,tylerjereddy/scipy,anntzer/scipy,WarrenWeckesser/scipy,ilayn/scipy,tylerjereddy/scipy,matthew-brett/scipy,endolith/scipy,andyfaff/scipy,endolith/scipy,Stefan-Endres/scipy,andyfaff/scipy,perimosocordiae/scipy,anntzer/scipy,anntzer/scipy,ilayn/scipy,matthew-brett/scipy,matthew-brett/scipy,ilayn/scipy,mdhaber/scipy,WarrenWeckesser/scipy,ilayn/scipy,rgommers/scipy,anntzer/scipy,andyfaff/scipy,andyfaff/scipy,andyfaff/scipy,zerothi/scipy,mdhaber/scipy,WarrenWeckesser/scipy,Stefan-Endres/scipy,mdhaber/scipy,scipy/scipy,rgommers/scipy,grlee77/scipy,zerothi/scipy,endolith/scipy,anntzer/scipy,tylerjereddy/scipy,ilayn/scipy,endolith/scipy,scipy/scipy,perimosocordiae/scipy,zerothi/scipy,rgommers/scipy,Stefan-Endres/scipy,rgommers/scipy,endolith/scipy,rgommers/scipy,vigna/scipy,anntzer/scipy,WarrenWeckesser/scipy