Rank: 2 based on 5193 downloads (last 30 days) and 68 files submitted
photo

Yi Cao

E-mail
Company/University
Cranfield University
Lat/Long
52.073917, -0.628756

Personal Profile:

http://www.cranfield.ac.uk/soe/profiles/y_cao.jsp

Professional Interests:

 

Watch this Author's files

 

Files Posted by Yi View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Mar 2010 Published M-Files MPC Tutorial IV: DMC Simulink Block and Example A DMC Simulink block with a demonstration example based the MATLAB demo, heatex Author: Yi Cao simulink, tutorial, heat exchanger, mpc, dmc 63 0
04 Mar 2010 Jonker-Volgenant Algorithm for Linear Assignment Problem A Matlab implementation of the Jonker-Volgenant algorithm solving LAPs. Author: Yi Cao hungarian algorithm, linear assignment pro..., linear assignment pro..., optimization, munkres algorithm 73 0
01 Mar 2010 Hungarian Algorithm for Linear Assignment Problems (V2.2) An extremely fast implementation of the Hungarian algorithm on a native Matlab code. Author: Yi Cao hungarian algorithm, optimization, assignment problem, munkres algorithm 165 16
  • 5.0
5.0 | 8 ratings
23 Feb 2010 Screenshot Bidirectional Branch and Bound for Average Loss Minimization Two algorithms for selection of controlled variables using the average loss as the criterion. Author: Yi Cao control design, optimization 67 2
  • 5.0
5.0 | 1 rating
01 Feb 2010 Screenshot Bidirectional Branch and Bound for Multiobjective Pairing Selection A bidirectional branch and bound code to perform multiobjective input-output pairing selection. Author: Yi Cao branch and bound, multiobjective optimi..., control design 26 0
Comments and Ratings by Yi View all
Updated File Comments Rating
09 Mar 2010 Hungarian Algorithm for Linear Assignment Problems (V2.2) An extremely fast implementation of the Hungarian algorithm on a native Matlab code. Author: Yi Cao

Anoop,

Thanks for pointing out the JV algorithm. You may wish to know that I have implemented a Matlab version of the JV algorithm in
http://www.mathworks.com/matlabcentral/fileexchange/26836
Certainly, it will not be as fast as the mex code, but it has no limitation on the cost matrix to be integer. If you test it, please let me know how it works with your application.

Yi

02 Mar 2010 Learning the Extended Kalman Filter An implementation of Extended Kalman Filter for nonlinear state estimation. Author: Yi Cao

Aeimit

Yes, it is possible. For example, see

http://www.mathworks.com/matlabcentral/fileexchange/18286

Yi

01 Mar 2010 Fast Range Search through JIT (ver 2) A small but fast tool to perform range search. Author: Yi Cao

Steve,

Yes, no problem. It can be used for any dimension. The 2-d image is only for explanation. It does not mean it can only apply to 2-d data. The example 3 given in the code is an example of d=10.

Yi

01 Mar 2010 Hungarian Algorithm for Linear Assignment Problems (V2.2) An extremely fast implementation of the Hungarian algorithm on a native Matlab code. Author: Yi Cao

Hi Anoop Balan,

Thanks for commenting on the code. The algorithm is polynomial. This means the computation time will growth about n^p with n the size of the problem and p some constant depending on CPU speed, memory and software implementation. On my PC, Intel Core2 Quad CPU (Q9300) 2.5 GHz with 4 GB RAM, with XP and Matlab 2009b, I got the following results:

n = 1000, cpu time = 18 sec
n = 2000, cpu time = 150 sec
n = 4000, cpu time = 1216 sec

Another machin

n = 1000, cpu time = 128 sec
n = 2000, cpu time = 1024 sec

So roughly, p = 3 (2^3 = 8). I do not know why your machin has so large p (>5). When you solve a large size problem, make sure you start with a clean workspace to avoid any unnecessary overhead for swaping memory with hard disk.

Yi

01 Feb 2010 Bidirectional Branch and Bound for Average Loss Minimization Two algorithms for selection of controlled variables using the average loss as the criterion. Author: Yi Cao

Hi Yinghui,

This warning is at line 103, which is before actual BAB search. The line aims to calculate the average loss if all measurements are used. Therefore, the warning suggests your matrices, G and Y are close to singular. You can send me you code to have a look.

HTH
Yi

Comments and Ratings on Yi's Files View all
Updated File Comment by Comments Rating
15 Mar 2010 Learning the Unscented Kalman Filter An implementation of Unscented Kalman Filter for nonlinear state estimation. Author: Yi Cao Patil, Gauri

Hi,
Is it possible to use the UFK when the non-linear function 'f' is unknown. But instead there is a 'map' (non deterministic) which is known. I want to filter the measurement signal using this non-deterministic 'map' which is only a set of samples and is seen periodically in the measurement signal.

Thanks.

09 Mar 2010 Hungarian Algorithm for Linear Assignment Problems (V2.2) An extremely fast implementation of the Hungarian algorithm on a native Matlab code. Author: Yi Cao Cao, Yi

Anoop,

Thanks for pointing out the JV algorithm. You may wish to know that I have implemented a Matlab version of the JV algorithm in
http://www.mathworks.com/matlabcentral/fileexchange/26836
Certainly, it will not be as fast as the mex code, but it has no limitation on the cost matrix to be integer. If you test it, please let me know how it works with your application.

Yi

03 Mar 2010 Munkres Assignment Algorithm An efficient implementation of the Munkres algorithm for the assignment problem. Author: Yi Cao Voulgaris, Zacharias

Truly excellent. It has everything you could ask of a Matlab program: good structure, excellent comments, simplicity, flow and efficiency. Thank you for sharing.

02 Mar 2010 Learning the Extended Kalman Filter An implementation of Extended Kalman Filter for nonlinear state estimation. Author: Yi Cao Cao, Yi

Aeimit

Yes, it is possible. For example, see

http://www.mathworks.com/matlabcentral/fileexchange/18286

Yi

02 Mar 2010 Hungarian Algorithm for Linear Assignment Problems (V2.2) An extremely fast implementation of the Hungarian algorithm on a native Matlab code. Author: Yi Cao Korattikara Balan, Anoop

Thanks... You might be right about the memory part. Although I was cleaning the workspace, I was using a MEX code which might have a memory leak (dont know if this is possible).

I ended up using the Jonker-Volgenant shortest augmenting path algorithm from 'http://boguslawobara.net/index.php?page=software.php'. This solves the same problem and appeared way faster.

Top Tags Applied by Yi
optimization, probability, statistics, games, contest
Files Tagged by Yi View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Mar 2010 Published M-Files MPC Tutorial IV: DMC Simulink Block and Example A DMC Simulink block with a demonstration example based the MATLAB demo, heatex Author: Yi Cao simulink, tutorial, heat exchanger, mpc, dmc 63 0
04 Mar 2010 Jonker-Volgenant Algorithm for Linear Assignment Problem A Matlab implementation of the Jonker-Volgenant algorithm solving LAPs. Author: Yi Cao hungarian algorithm, linear assignment pro..., linear assignment pro..., optimization, munkres algorithm 73 0
01 Mar 2010 Hungarian Algorithm for Linear Assignment Problems (V2.2) An extremely fast implementation of the Hungarian algorithm on a native Matlab code. Author: Yi Cao hungarian algorithm, optimization, assignment problem, munkres algorithm 165 16
  • 5.0
5.0 | 8 ratings
23 Feb 2010 Screenshot Bidirectional Branch and Bound for Average Loss Minimization Two algorithms for selection of controlled variables using the average loss as the criterion. Author: Yi Cao control design, optimization 67 2
  • 5.0
5.0 | 1 rating
01 Feb 2010 Screenshot Bidirectional Branch and Bound for Multiobjective Pairing Selection A bidirectional branch and bound code to perform multiobjective input-output pairing selection. Author: Yi Cao branch and bound, multiobjective optimi..., control design 26 0
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com