It appears that IPOPT is not in your Matlab path or is not correctly installed. Please ensure that IPOPT is installed and working correctly by running the tests for the OptiToolbox or getting help from their forums. MATPOWER will not be able to use IPOPT successfully, unless and until it is installed properly and the output of the 'mpver' command confirms this.
Ray > On Sep 27, 2016, at 4:24 AM, dongming jin <[email protected]> wrote: > > Hello everyone, > I met some trouble while changing the matpower solver to ipopt on > windows,can anyone help me out? > first i installed matpower,and when i ran test_matpower,all tests were > successful. > then i installed optitoolbox,when i set ipopt as the matpower solver in the > sentence: > >> mpopt=mpoption('opf.ac.solver','IPOPT'); > it went wrong and displayed the following warning: > Warning: Improper installation of IPOPT. Version 3.12.5 detected, but > IPOPT_AUXDATA.M is missing. > > In have_fcn (line 309) > In mpoption_info_ipopt (line 31) > In mpoption>mpoption_default (line 1462) > In mpoption (line 480) > Ray helped me find the file IPOPT_AUXDATA.M last time when i asked about it > and solved this problem. > but after that when i ran opf with ipopt in the following sentence: > >> mpopt=mpoption('opf.ac.solver','IPOPT'); > >> results=runopf('case30',mpopt); > it went wrong again, and displayed the following warning: > Error using opf_execute (line 86) > opf_execute: MPOPT.opf.ac.solver = 'IPOPT' requires IPOPT (see > http://www.coin-or.org/projects/Ipopt.xml > <http://www.coin-or.org/projects/Ipopt.xml>) > Error in opf (line 204) > [results, success, raw] = opf_execute(om, mpopt); > Error in runopf (line 75) > [r, success] = opf(casedata, mpopt); > can anyone give me some advice?i would appreciate it a lot. > Thanks in advance > Best regards > > > > >
