readme
来自「流形学习中的重要方法MVU的源代码」· 代码 · 共 39 行
TXT
39 行
This directory contains the MATLAB interface to CSDP. There are threeMATLAB functions: csdp Solve a problem in SeDuMi format. writesdpa Takes a problem in SeDuMi format and outputs it to a file in SDPA sparse format. readsol Reads a CSDP solution into the workspace in SeDuMi form. convertf Converts free variables in a SeDuMi problem into the differences of nonnegative variables, so that the problem can be solved by CSDP.Note that these .m files must be in your MATLAB search path, and thatthe csdp executable must be in your shell's search path for thisinterface to work.To add the .m files to the MATLAB path, see the path function in MATLAB. It can be used to show the current path and add new directories to the current path. Once you've installed CSDP and the MATLAB interface routines, you can testthem with>> load control1.mat>> whos>> pars.objtol=1.0e-9;>> [x,y,z,info]=csdp(At,b,c,K,pars);>> info The file control1.correct shows correct output from these commands. Yourresults should be similar, although there are likely to be slight differencesin the actual values. For help with using the routines, see>> help csdp>> help writesdpa>> help readsol>> help convertf
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?