Document magic numbers in optimize.py (#6477)
Document magic numbers in optimize.py (#6477)

The golden ratio and its conjugate are used as magic numbers in two optimization functions.
These are commented now along with their closed form.
arokem/scipy,perimosocordiae/scipy,endolith/scipy,mdhaber/scipy,pbrod/scipy,kalvdans/scipy,kalvdans/scipy,andyfaff/scipy,lhilt/scipy,dominicelse/scipy,perimosocordiae/scipy,nmayorov/scipy,nonhermitian/scipy,anielsen001/scipy,anntzer/scipy,aeklant/scipy,endolith/scipy,maniteja123/scipy,rgommers/scipy,scipy/scipy,jakevdp/scipy,andyfaff/scipy,scipy/scipy,ilayn/scipy,mdhaber/scipy,pizzathief/scipy,aarchiba/scipy,jamestwebber/scipy,andyfaff/scipy,pizzathief/scipy,matthewalbani/scipy,pyramania/scipy,aarchiba/scipy,person142/scipy,pschella/scipy,pyramania/scipy,tylerjereddy/scipy,mikebenfield/scipy,Stefan-Endres/scipy,befelix/scipy,pizzathief/scipy,tylerjereddy/scipy,grlee77/scipy,pyramania/scipy,zerothi/scipy,surhudm/scipy,grlee77/scipy,grlee77/scipy,matthew-brett/scipy,nonhermitian/scipy,pyramania/scipy,woodscn/scipy,maniteja123/scipy,person142/scipy,josephcslater/scipy,josephcslater/scipy,Stefan-Endres/scipy,grlee77/scipy,WarrenWeckesser/scipy,woodscn/scipy,gfyoung/scipy,jor-/scipy,arokem/scipy,scipy/scipy,anielsen001/scipy,aarchiba/scipy,nmayorov/scipy,ilayn/scipy,Eric89GXL/scipy,apbard/scipy,apbard/scipy,matthew-brett/scipy,sriki18/scipy,vigna/scipy,grlee77/scipy,mikebenfield/scipy,maniteja123/scipy,nmayorov/scipy,pbrod/scipy,scipy/scipy,zerothi/scipy,arokem/scipy,Eric89GXL/scipy,e-q/scipy,Eric89GXL/scipy,bkendzior/scipy,nonhermitian/scipy,sriki18/scipy,jamestwebber/scipy,gfyoung/scipy,gertingold/scipy,jjhelmus/scipy,nmayorov/scipy,e-q/scipy,apbard/scipy,perimosocordiae/scipy,mikebenfield/scipy,maniteja123/scipy,pizzathief/scipy,jjhelmus/scipy,ilayn/scipy,woodscn/scipy,bkendzior/scipy,anntzer/scipy,person142/scipy,anielsen001/scipy,bkendzior/scipy,lhilt/scipy,ilayn/scipy,pschella/scipy,jjhelmus/scipy,pschella/scipy,sriki18/scipy,anntzer/scipy,aarchiba/scipy,dominicelse/scipy,gdooper/scipy,Stefan-Endres/scipy,aeklant/scipy,aarchiba/scipy,lhilt/scipy,e-q/scipy,tylerjereddy/scipy,anntzer/scipy,e-q/scipy,matthewalbani/scipy,pbrod/scipy,sriki18/scipy,zerothi/scipy,dominicelse/scipy,WarrenWeckesser/scipy,jjhelmus/scipy,ilayn/scipy,nonhermitian/scipy,woodscn/scipy,perimosocordiae/scipy,pizzathief/scipy,ilayn/scipy,andyfaff/scipy,mdhaber/scipy,matthewalbani/scipy,nmayorov/scipy,vigna/scipy,gdooper/scipy,perimosocordiae/scipy,zerothi/scipy,e-q/scipy,josephcslater/scipy,person142/scipy,jor-/scipy,jakevdp/scipy,jakevdp/scipy,matthewalbani/scipy,aeklant/scipy,josephcslater/scipy,surhudm/scipy,mikebenfield/scipy,jamestwebber/scipy,surhudm/scipy,pschella/scipy,endolith/scipy,Stefan-Endres/scipy,arokem/scipy,mikebenfield/scipy,maniteja123/scipy,gdooper/scipy,vigna/scipy,befelix/scipy,matthewalbani/scipy,pschella/scipy,bkendzior/scipy,endolith/scipy,sriki18/scipy,Stefan-Endres/scipy,kalvdans/scipy,befelix/scipy,scipy/scipy,tylerjereddy/scipy,gertingold/scipy,lhilt/scipy,surhudm/scipy,jamestwebber/scipy,zerothi/scipy,andyfaff/scipy,Eric89GXL/scipy,nonhermitian/scipy,apbard/scipy,pbrod/scipy,rgommers/scipy,aeklant/scipy,jor-/scipy,scipy/scipy,person142/scipy,Stefan-Endres/scipy,andyfaff/scipy,aeklant/scipy,gfyoung/scipy,WarrenWeckesser/scipy,surhudm/scipy,vigna/scipy,kalvdans/scipy,jjhelmus/scipy,kalvdans/scipy,matthew-brett/scipy,perimosocordiae/scipy,woodscn/scipy,anielsen001/scipy,befelix/scipy,mdhaber/scipy,jamestwebber/scipy,Eric89GXL/scipy,gertingold/scipy,arokem/scipy,anielsen001/scipy,zerothi/scipy,tylerjereddy/scipy,Eric89GXL/scipy,pbrod/scipy,jakevdp/scipy,woodscn/scipy,gfyoung/scipy,matthew-brett/scipy,lhilt/scipy,endolith/scipy,anntzer/scipy,maniteja123/scipy,gertingold/scipy,dominicelse/scipy,endolith/scipy,gertingold/scipy,matthew-brett/scipy,WarrenWeckesser/scipy,vigna/scipy,gfyoung/scipy,WarrenWeckesser/scipy,bkendzior/scipy,jor-/scipy,anielsen001/scipy,apbard/scipy,mdhaber/scipy,surhudm/scipy,befelix/scipy,josephcslater/scipy,WarrenWeckesser/scipy,pyramania/scipy,mdhaber/scipy,gdooper/scipy,rgommers/scipy,pbrod/scipy,jor-/scipy,anntzer/scipy,gdooper/scipy,sriki18/scipy,dominicelse/scipy,jakevdp/scipy,rgommers/scipy,rgommers/scipy