Hi Michael, After copying these dll, try rebooting your computer and see if it working or not.
Noli On 10/23/12, Michael Rudzsky <[email protected]> wrote: > Hi Noli > Thank you for yout quick responce. > Unfortunately it doesn't work (both variants with > c:\windows\system > and > c:\windows\system32 > > May be I have to define a path? > > > Michael Rudzsky > > > Computer Science Department, Technion > tel. 048294961 > ----- Original Message ----- > From: "Noli Sicad" <[email protected]> > To: "Michael Rudzsky" <[email protected]> > Cc: <[email protected]> > Sent: Tuesday, October 23, 2012 11:28 AM > Subject: Re: [Help-glpk] Fw: " Matlab don't see glpk.dll ? > > >> Hi Machael. >> >> "Please put the glpk49.dll under the system directory" >> >> Copy these files (glpk.dll, glpk49.dll) into >> >> c:\windows\system >> >> or >> >> c:\windows\system32 >> >> "And glpkmex.dll under your working directory" >> >> Copy glpkmex.dll in where the "miles" file is located, the example >> that you are running. >> >> Noli >> >> On 10/23/12, Michael Rudzsky <[email protected]> wrote: >>> Hello, >>> I tryed to run an example from some package "miles" which use glpk - >>> miles_demo >>> Miles is written in MATLAB for windows and uses >>> glpkmex.dll , glpk.dll, glpk49.dll >>> they are given in the miles package. >>> >>> >>> There is (in the package of miles) a description how to use these dll >>> files >>> ( I attached it to this letter) >>> but I cannot overcome a problem: the problemis is: >>> Matlab don't see glpk.dll . I work on MATLAB for windows >>> The specified module could not be found. >>> Error in ==> onenormsvm at 53 >>> [x,obj,dualx,status]=glpk(f,A,b,lb,ub,[],ge); >>> Error in ==> miles_demo at 54 >>> [w,dualx,z,obj,x]=onenormsvm(Ktrain,label_train,lambda,mu); >>> >>> I would be very obliged to obtain your help >>> >>> Michael Rudzsky >>> >>> A file of this package describing what to do with >>> glpkmex.dll , glpk.dll, glpk49.dll >>> is as follows: >>> MILES >>> >>> >>> -------------------------------------------------------------------------------- >>> >>> a.. MILES Code >>> >>> >>> ZIP file >>> >>> >>> >>> You will need a solver, e.g., CPLEX or GLPK, to solve the LP. The >>> results >>> reported in the paper were obtained using CPLEX. Here we provide a >>> solver >>> based on GLPK (for Win XP), which is a little slower than CPLEX for the >>> datasets we tested. If you want to use the GLPK solver, please put the >>> glpk49.dll under the system directory and glpkmex.dll under your working >>> directory. The code can easily be modified to use CPLEX. A Matlab >>> interface >>> for the CPLEX solver is included. >>> >>> An example is given in miles_demo.m. >>> >>> >>> -------------------------------------------------------------------------------- >>> >>> >>> >>> Help-glpk mailing list >>> [email protected] >>> https://lists.gnu.org/mailman/listinfo/help-glpk >>> >>> >> > > _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
