ENH: optimize: add _minimize_tnc function with standard signature
ENH: optimize: add _minimize_tnc function with standard signature

`fmin_tnc` now calls this function. In `_minimize_tnc`, display is
controlled by the `disp` options only (which sets `messages` to `MSG_ALL`).
Backwards compatibility should be preserved.

ilayn/scipy,gfyoung/scipy,rmcgibbo/scipy,newemailjdm/scipy,Srisai85/scipy,e-q/scipy,andim/scipy,mortada/scipy,raoulbq/scipy,nonhermitian/scipy,Eric89GXL/scipy,matthewalbani/scipy,jamestwebber/scipy,ogrisel/scipy,anielsen001/scipy,andim/scipy,mtrbean/scipy,arokem/scipy,gef756/scipy,sriki18/scipy,Eric89GXL/scipy,juliantaylor/scipy,teoliphant/scipy,lhilt/scipy,Dapid/scipy,kalvdans/scipy,jseabold/scipy,futurulus/scipy,mgaitan/scipy,e-q/scipy,e-q/scipy,aman-iitj/scipy,WillieMaddox/scipy,dch312/scipy,pnedunuri/scipy,matthewalbani/scipy,mingwpy/scipy,maniteja123/scipy,petebachant/scipy,pnedunuri/scipy,vanpact/scipy,petebachant/scipy,felipebetancur/scipy,vhaasteren/scipy,ortylp/scipy,scipy/scipy,fredrikw/scipy,arokem/scipy,nonhermitian/scipy,fredrikw/scipy,Shaswat27/scipy,zerothi/scipy,aarchiba/scipy,Srisai85/scipy,vigna/scipy,Shaswat27/scipy,pizzathief/scipy,anielsen001/scipy,felipebetancur/scipy,anntzer/scipy,cpaulik/scipy,hainm/scipy,zerothi/scipy,Dapid/scipy,befelix/scipy,pschella/scipy,jsilter/scipy,lukauskas/scipy,piyush0609/scipy,witcxc/scipy,kalvdans/scipy,newemailjdm/scipy,aman-iitj/scipy,anntzer/scipy,Gillu13/scipy,nvoron23/scipy,ndchorley/scipy,ilayn/scipy,haudren/scipy,larsmans/scipy,Stefan-Endres/scipy,andim/scipy,Shaswat27/scipy,juliantaylor/scipy,andim/scipy,vanpact/scipy,zaxliu/scipy,maniteja123/scipy,chatcannon/scipy,Eric89GXL/scipy,cpaulik/scipy,sargas/scipy,rmcgibbo/scipy,vhaasteren/scipy,jonycgn/scipy,andyfaff/scipy,vberaudi/scipy,ogrisel/scipy,ales-erjavec/scipy,sonnyhu/scipy,vhaasteren/scipy,Dapid/scipy,mhogg/scipy,mortada/scipy,befelix/scipy,arokem/scipy,zxsted/scipy,aarchiba/scipy,Kamp9/scipy,chatcannon/scipy,njwilson23/scipy,mortada/scipy,woodscn/scipy,mdhaber/scipy,hainm/scipy,mtrbean/scipy,endolith/scipy,jamestwebber/scipy,endolith/scipy,Gillu13/scipy,zaxliu/scipy,mortada/scipy,ortylp/scipy,behzadnouri/scipy,fernand/scipy,ChanderG/scipy,dominicelse/scipy,rmcgibbo/scipy,fredrikw/scipy,pbrod/scipy,chatcannon/scipy,ilayn/scipy,matthewalbani/scipy,minhlongdo/scipy,jjhelmus/scipy,woodscn/scipy,jseabold/scipy,rmcgibbo/scipy,gdooper/scipy,pbrod/scipy,pschella/scipy,sauliusl/scipy,perimosocordiae/scipy,minhlongdo/scipy,Newman101/scipy,FRidh/scipy,arokem/scipy,ChanderG/scipy,aman-iitj/scipy,ales-erjavec/scipy,Dapid/scipy,jakevdp/scipy,Gillu13/scipy,pbrod/scipy,jakevdp/scipy,argriffing/scipy,Kamp9/scipy,sriki18/scipy,Stefan-Endres/scipy,andyfaff/scipy,gef756/scipy,aman-iitj/scipy,zxsted/scipy,ogrisel/scipy,maniteja123/scipy,e-q/scipy,sargas/scipy,vanpact/scipy,arokem/scipy,Kamp9/scipy,zxsted/scipy,dominicelse/scipy,efiring/scipy,Srisai85/scipy,zxsted/scipy,fredrikw/scipy,felipebetancur/scipy,hainm/scipy,ndchorley/scipy,trankmichael/scipy,jjhelmus/scipy,Eric89GXL/scipy,woodscn/scipy,newemailjdm/scipy,pschella/scipy,sriki18/scipy,Kamp9/scipy,sauliusl/scipy,mikebenfield/scipy,hainm/scipy,petebachant/scipy,apbard/scipy,fernand/scipy,mdhaber/scipy,andyfaff/scipy,WillieMaddox/scipy,ales-erjavec/scipy,tylerjereddy/scipy,gef756/scipy,behzadnouri/scipy,josephcslater/scipy,pyramania/scipy,gdooper/scipy,surhudm/scipy,hainm/scipy,niknow/scipy,josephcslater/scipy,Kamp9/scipy,Shaswat27/scipy,grlee77/scipy,raoulbq/scipy,sargas/scipy,kleskjr/scipy,sauliusl/scipy,pnedunuri/scipy,giorgiop/scipy,matthewalbani/scipy,ndchorley/scipy,sonnyhu/scipy,person142/scipy,mdhaber/scipy,chatcannon/scipy,jor-/scipy,vhaasteren/scipy,vigna/scipy,futurulus/scipy,Stefan-Endres/scipy,petebachant/scipy,apbard/scipy,minhlongdo/scipy,minhlongdo/scipy,lhilt/scipy,ortylp/scipy,juliantaylor/scipy,nmayorov/scipy,mhogg/scipy,andim/scipy,dominicelse/scipy,ChanderG/scipy,WarrenWeckesser/scipy,gdooper/scipy,sauliusl/scipy,josephcslater/scipy,Shaswat27/scipy,mikebenfield/scipy,vhaasteren/scipy,jjhelmus/scipy,zaxliu/scipy,mdhaber/scipy,jakevdp/scipy,pyramania/scipy,pyramania/scipy,cpaulik/scipy,maciejkula/scipy,gertingold/scipy,behzadnouri/scipy,sargas/scipy,trankmichael/scipy,larsmans/scipy,sonnyhu/scipy,jseabold/scipy,vigna/scipy,zaxliu/scipy,nonhermitian/scipy,njwilson23/scipy,ChanderG/scipy,perimosocordiae/scipy,ndchorley/scipy,ilayn/scipy,jjhelmus/scipy,fernand/scipy,fernand/scipy,trankmichael/scipy,piyush0609/scipy,giorgiop/scipy,aeklant/scipy,ales-erjavec/scipy,jsilter/scipy,mtrbean/scipy,bkendzior/scipy,pnedunuri/scipy,Newman101/scipy,ortylp/scipy,cpaulik/scipy,fernand/scipy,Dapid/scipy,jor-/scipy,nvoron23/scipy,gef756/scipy,giorgiop/scipy,hainm/scipy,gertingold/scipy,andim/scipy,matthew-brett/scipy,jamestwebber/scipy,raoulbq/scipy,jsilter/scipy,gef756/scipy,FRidh/scipy,pbrod/scipy,petebachant/scipy,anielsen001/scipy,mhogg/scipy,aeklant/scipy,futurulus/scipy,andyfaff/scipy,apbard/scipy,chatcannon/scipy,haudren/scipy,FRidh/scipy,argriffing/scipy,argriffing/scipy,larsmans/scipy,pschella/scipy,argriffing/scipy,maciejkula/scipy,grlee77/scipy,niknow/scipy,gdooper/scipy,jakevdp/scipy,futurulus/scipy,mdhaber/scipy,dch312/scipy,nvoron23/scipy,jamestwebber/scipy,WillieMaddox/scipy,mikebenfield/scipy,WarrenWeckesser/scipy,efiring/scipy,nmayorov/scipy,haudren/scipy,befelix/scipy,trankmichael/scipy,teoliphant/scipy,mdhaber/scipy,argriffing/scipy,pizzathief/scipy,e-q/scipy,chatcannon/scipy,ndchorley/scipy,kleskjr/scipy,gertingold/scipy,vhaasteren/scipy,surhudm/scipy,haudren/scipy,piyush0609/scipy,efiring/scipy,jor-/scipy,efiring/scipy,njwilson23/scipy,person142/scipy,Stefan-Endres/scipy,Srisai85/scipy,juliantaylor/scipy,piyush0609/scipy,zerothi/scipy,piyush0609/scipy,person142/scipy,pizzathief/scipy,witcxc/scipy,richardotis/scipy,witcxc/scipy,newemailjdm/scipy,larsmans/scipy,nmayorov/scipy,pnedunuri/scipy,jjhelmus/scipy,FRidh/scipy,bkendzior/scipy,nvoron23/scipy,mingwpy/scipy,kleskjr/scipy,vigna/scipy,Kamp9/scipy,endolith/scipy,ilayn/scipy,dch312/scipy,giorgiop/scipy,anntzer/scipy,nvoron23/scipy,lhilt/scipy,surhudm/scipy,mhogg/scipy,giorgiop/scipy,sriki18/scipy,piyush0609/scipy,scipy/scipy,scipy/scipy,matthew-brett/scipy,ales-erjavec/scipy,Stefan-Endres/scipy,andyfaff/scipy,aarchiba/scipy,nmayorov/scipy,anielsen001/scipy,woodscn/scipy,petebachant/scipy,scipy/scipy,ilayn/scipy,Gillu13/scipy,ortylp/scipy,mgaitan/scipy,woodscn/scipy,larsmans/scipy,endolith/scipy,kleskjr/scipy,vanpact/scipy,tylerjereddy/scipy,perimosocordiae/scipy,jsilter/scipy,fernand/scipy,matthew-brett/scipy,Newman101/scipy,pizzathief/scipy,nonhermitian/scipy,mgaitan/scipy,jonycgn/scipy,mortonjt/scipy,grlee77/scipy,zerothi/scipy,lukauskas/scipy,pizzathief/scipy,kalvdans/scipy,gfyoung/scipy,lukauskas/scipy,minhlongdo/scipy,behzadnouri/scipy,anntzer/scipy,witcxc/scipy,maciejkula/scipy,zaxliu/scipy,cpaulik/scipy,sonnyhu/scipy,lukauskas/scipy,pyramania/scipy,woodscn/scipy,vberaudi/scipy,richardotis/scipy,WillieMaddox/scipy,gfyoung/scipy,jonycgn/scipy,aeklant/scipy,pschella/scipy,Stefan-Endres/scipy,jonycgn/scipy,Newman101/scipy,nmayorov/scipy,vigna/scipy,felipebetancur/scipy,cpaulik/scipy,mingwpy/scipy,gef756/scipy,FRidh/scipy,ortylp/scipy,mortonjt/scipy,dch312/scipy,behzadnouri/scipy,pnedunuri/scipy,efiring/scipy,pbrod/scipy,lukauskas/scipy,niknow/scipy,apbard/scipy,jseabold/scipy,mtrbean/scipy,matthew-brett/scipy,anntzer/scipy,maniteja123/scipy,njwilson23/scipy,grlee77/scipy,jonycgn/scipy,mtrbean/scipy,niknow/scipy,juliantaylor/scipy,Srisai85/scipy,WarrenWeckesser/scipy,zerothi/scipy,maniteja123/scipy,aeklant/scipy,efiring/scipy,minhlongdo/scipy,rgommers/scipy,rgommers/scipy,WillieMaddox/scipy,teoliphant/scipy,fredrikw/scipy,jonycgn/scipy,anielsen001/scipy,behzadnouri/scipy,mortonjt/scipy,rgommers/scipy,rmcgibbo/scipy,befelix/scipy,aman-iitj/scipy,mhogg/scipy,vberaudi/scipy,sriki18/scipy,sargas/scipy,vberaudi/scipy,vanpact/scipy,person142/scipy,mortonjt/scipy,rgommers/scipy,Shaswat27/scipy,trankmichael/scipy,bkendzior/scipy,mingwpy/scipy,Srisai85/scipy,trankmichael/scipy,pbrod/scipy,WarrenWeckesser/scipy,gertingold/scipy,anntzer/scipy,dch312/scipy,josephcslater/scipy,pyramania/scipy,Gillu13/scipy,njwilson23/scipy,aarchiba/scipy,ales-erjavec/scipy,Eric89GXL/scipy,endolith/scipy,person142/scipy,mgaitan/scipy,mingwpy/scipy,kleskjr/scipy,witcxc/scipy,FRidh/scipy,nvoron23/scipy,surhudm/scipy,sriki18/scipy,matthewalbani/scipy,newemailjdm/scipy,jseabold/scipy,mikebenfield/scipy,Dapid/scipy,Gillu13/scipy,njwilson23/scipy,WarrenWeckesser/scipy,grlee77/scipy,scipy/scipy,aeklant/scipy,richardotis/scipy,kalvdans/scipy,sauliusl/scipy,surhudm/scipy,rgommers/scipy,felipebetancur/scipy,lhilt/scipy,Newman101/scipy,vberaudi/scipy,teoliphant/scipy,gdooper/scipy,apbard/scipy,dominicelse/scipy,WillieMaddox/scipy,matthew-brett/scipy,mgaitan/scipy,jor-/scipy,mortonjt/scipy,futurulus/scipy,futurulus/scipy,tylerjereddy/scipy,raoulbq/scipy,aarchiba/scipy,gfyoung/scipy,ChanderG/scipy,anielsen001/scipy,giorgiop/scipy,WarrenWeckesser/scipy,jseabold/scipy,teoliphant/scipy,befelix/scipy,perimosocordiae/scipy,richardotis/scipy,mortada/scipy,mortada/scipy,zxsted/scipy,josephcslater/scipy,rmcgibbo/scipy,ChanderG/scipy,tylerjereddy/scipy,jakevdp/scipy,argriffing/scipy,bkendzior/scipy,gfyoung/scipy,raoulbq/scipy,maciejkula/scipy,mtrbean/scipy,jamestwebber/scipy,aman-iitj/scipy,haudren/scipy,haudren/scipy,gertingold/scipy,scipy/scipy,perimosocordiae/scipy,dominicelse/scipy,mortonjt/scipy,zerothi/scipy,mingwpy/scipy,zaxliu/scipy,maciejkula/scipy,sauliusl/scipy,kleskjr/scipy,ogrisel/scipy,jor-/scipy,sonnyhu/scipy,mhogg/scipy,mgaitan/scipy,andyfaff/scipy,bkendzior/scipy,Newman101/scipy,larsmans/scipy,endolith/scipy,surhudm/scipy,kalvdans/scipy,niknow/scipy,fredrikw/scipy,richardotis/scipy,nonhermitian/scipy,ndchorley/scipy,vanpact/scipy,mikebenfield/scipy,lhilt/scipy,maniteja123/scipy,richardotis/scipy,Eric89GXL/scipy,raoulbq/scipy,lukauskas/scipy,niknow/scipy,jsilter/scipy,ogrisel/scipy,zxsted/scipy,felipebetancur/scipy,vberaudi/scipy,newemailjdm/scipy,tylerjereddy/scipy,sonnyhu/scipy,perimosocordiae/scipy