Eric-Bradford / TS-EMO

This repository contains the source code for “Thompson sampling efficient multiobjective optimization” (TSEMO).
BSD 2-Clause "Simplified" License
93 stars 16 forks source link

Mex files compatibility with Mac OS #2

Closed spockoyno closed 6 years ago

spockoyno commented 6 years ago

Great library, just some minor issues with the mex files on 64-bit Mac OS. Currently, there are no mexmaci64 files in the depository, so running the TSEMO_ Example.m gave errors.

Note that paretofront function is only available as paretoset.m from the Matlab file exchange. Also, the link http://liacs.leidenuniv.nl/~csmoda/code/EHVI.rar is broken, whereas the other link doesn't contain mac 64 mex files. (As a workaround, I used the general hypervolumemonte function.)

Many thanks!

Eric-Bradford commented 6 years ago

I added alternative .m files for each mex file, so it should work now. For both the hypervolume and the paretofront calculations the computational speed seems to be unaffected, but the invChol.m is signficantly slower, so it might be a good idea to recompile it using the c file.

Thanks for your helpful comments and hope it works now for you.

spockoyno commented 6 years ago

Fortunately, it's easy for the invChol.m, as https://se.mathworks.com/matlabcentral/fileexchange/34511-fast-and-accurate-symmetric-positive-definite-matrix-inverse-using-cholesky-decomposition contains an .m file for compiling the .c file.

I look forward to using your library. Thank you for the good work.