HOW TO USE MINOR MINER IN MATLAB
I downloaded the minor miner package from GitHub. There are only three files in the folder of Matlab. No Mex binding files that can be called in Matlab command line. Am I supposed to build it myself? Thanks.
I downloaded the minor miner package from GitHub. There are only three files in the folder of Matlab. No Mex binding files that can be called in Matlab command line. Am I supposed to build it myself? Thanks.
Comments
Hello,
Thank you for your interest and for reaching out to us!
Yes, you will need to run make if you want to use the library.
Here is a link to the Matlab install instructions:
https://github.com/dwavesystems/minorminer#installation-1
I hope this was helpful!
Please let us know if you need any more information or have any more questions.
It reported two errors.
First is the unidentified function or variable assert error, which was solved by including the assert.h file in the header.
Second is the error about trying to call a string member function from a char* type object, it occurs in the catch error subroutine. I just omitted the catch error subroutine.
Then it made successfully.
Cheers,
J
That's great! I'm glad you were able to get it built.
Thank you for posting the problems you ran into and how to fix them as well.
This will be very helpful for other users.
Please let us know if you run into any other issues.
We are always happy to help!
Hi, thanks for your reply.
I have difficult using the find_embedding(source graph, destination graph, options) function in Matlab regarding to how to assign the options.
I wonder whether there is a function library documentation that I can refer to. Thanks.
So there is a known issue with the documentation being lacking:
https://github.com/dwavesystems/minorminer/issues/75
I hope this was helpful!
Hi,
Is there any way to run this on windows? I tried it on windows and the make file is throwing alot of errors. :(
Please sign in to leave a comment.