Prev: fread and endian issues
Next: Image brightness
From: dapeng on 23 Jun 2010 02:22 "Steven Lord" <slord(a)mathworks.com> wrote in message <hvr3e8$v1$1(a)fred.mathworks.com>... > > "dapeng " <gaodapeng1987(a)126.com> wrote in message > news:hvi37o$dev$1(a)fred.mathworks.com... > > "Steven Lord" <slord(a)mathworks.com> wrote in message > > <hvanng$m56$1(a)fred.mathworks.com>... > >> > >> "dapeng " <gaodapeng1987(a)126.com> wrote in message > >> news:hvam00$l0e$1(a)fred.mathworks.com... > >> >I have MIP,with 64 variables and 30 constrains.I ues lp_solve to solve > >> > it.[obj,opt_y]=lp_solve(inte_f',inte_A,inte_b,e,inte_lb,inte_ub,xint); > >> > But I get the follow message. > >> > get_ptr_sensitivity_rhs: Sensitivity unknown > >> > >> *snip* > >> > >> > Error in ==> lp_solve at 88 > >> > [obj, x, duals] = mxlpsolve('get_solution', lp); > >> > > >> > Error in ==> test1 at 94 > >> > [obj,opt_y]=lp_solve(inte_f',inte_A,inte_b,e,inte_lb,inte_ub,xint); > >> > > >> > > >> > What's wrong with it? > >> > >> You're probably going to have to ask the person that provided you with > >> the lp_solve function (and the helper MEX-file mxlpsolve that it calls.) > >> The crash log file indicates that the failure occurred inside that > >> MEX-file. > >> > >> -- > >> Steve Lord > >> slord(a)mathworks.com > >> comp.soft-sys.matlab (CSSM) FAQ: > >> http://matlabwiki.mathworks.com/MATLAB_FAQ > >> To contact Technical Support use the Contact Us link on > >> http://www.mathworks.com Thanks Steve Lord and us! After that I used > >> lp_solve to MIP,which size is 11*28, then I got the empty value. When 4*3 > >> MIP is solved, I can get the optimal solution quickly. > > So what's wrong with it? Does the MIP exceed the maximum size for > > lp_solve. > > Please help me.Thanks in advance. > > I have no idea. It's not a function that's part of MATLAB or any of the > toolboxes provided by The MathWorks, and I don't have any experience using > it. As I said above, I think you're going to need to ask whomever wrote > lp_solve and/or its helper MEX-file for help debugging this. If you can't > reach that person, ask the person from whom you obtained lp_solve. > > -- > Steve Lord > slord(a)mathworks.com > comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ > To contact Technical Support use the Contact Us link on > http://www.mathworks.com > Thanks Steve Lord. Now I have to ask the group which provided lp_solve. |