📄 readme
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -