매트랩에는 기본적으로 optimization toolbox가 제공되어 사용할 수 있습니다. 

하지만 개인적으로 사용법이 직관적이지 않아 처음 사용하는데 애를 많이 먹었습니다. 

그러던 중 전에 들었던 최적화 이론 수업 교수님이 말씀해주신 CVX tool이 생각나서 찾아서 사용해봤는데 아직까지는 매트랩에서 제공되는 optimization toolbox 보다는 훨씬 더 사용하기 편하고 직관적인 것 같습니다. 


 CVX guide book에 있는 소개는 간단하게 다음과 같습니다.

CVX is a modeling system for constructing and solving disciplined convex programs (DCPs). CVX supports a number of standard problem types, including linear and quadratic programs (LPs/QPs), second-order cone programs (SOCPs), and semidefinite programs (SDPs). CVX can also solve much more complex convex optimization problems, including many involving nondifferentiable functions, such as `1 norms. You can use CVX to conveniently formulate and solve constrained norm minimization, entropy maximization, determinant maximization, and many other convex programs. 

As of version 2.0, CVX also solves mixed integer disciplined convex programs (MIDCPs) as well, with an appropriate integer-capable solver. 


 CVX 및 CVX 가이드 다운로드는 공식홈페이지에서 가능합니다.

다운로드 파일은 아래의 표를 참조하셔서 자신의 OS에 맞는 파일을 선택하시면 됩니다. 

(가이드북CVX_guide book.pdf



 다운로드 후 설치 방법은 매우 간단합니다. 해당 다운로드 파일의 압축을 푸신 후 아래의 그림과 같이 해당 폴더를 평소에 사용하시는 matlab path로 이동시키신 후에 그 폴더에서 'cvx_setup' 이라고 커맨드 명령어를 치시기만 하면 됩니다. 




+ Recent posts