networks and large scale
play

Networks and large scale optimization Open Data Science Conference - PowerPoint PPT Presentation

Networks and large scale optimization Open Data Science Conference Boston, May 2018 Sam Safavi On behalf of Jos Bento Outline Why is optimization important? Large scale optimization Message-passing solver Benefits


  1. global y; global rho; global lambda; n = 100; lambda = 0.7; rho = 1; y = sign(sin(0:10*2*pi/(n-1):10*2*pi))' + 0.1*randn(n,1); % Initialization u_quad = randn(n,1); u_diff = randn(n-1,2); m_quad = randn(n,1); m_diff = randn(n-1,2); z = randn(n,1); for i=1:1000 % Process left nodes % First process quad nodes for i = 1:n [m_quad(i) , u_quad(i)] = F_quad ( z(i), u_quad(i),i ); end % Second process diff nodes for j = 1:n-1 [m_diff(j,1),m_diff(j,2),u_diff(j,1),u_diff(j,2)] = F_diff (z(j),z(j+1),u_diff(j,1), u_diff(j,2)); end % Process right nodes z = 0*z; for i = 2:n-1 z (i)= (m_quad(i) + m_diff(i-1,2) + m_diff(i,1))/3; end z(1) = (m_quad(1) + m_diff(1,1))/2; z(n) = (m_quad(n) + m_diff(n-1,2))/2; end

  2. Non-smooth Filtering

  3. Non-smooth Filtering

  4. Sudoku Puzzle 4 3 2 1

  5. Sudoku Puzzle  Each number should be included once in each: 4  Row  Column 3  Block 2 1

  6. Sudoku Puzzle  Each number should be included once in each: 4  Row  Column 3  Block 2  Bit representations 1

  7. Sudoku Puzzle  Each number should be included once in each: 4  Row  Column 3  Block 2  Bit representations 1

  8. Sudoku Puzzle  Each number should be included once in each: 4  Row  Column 3  Block 2  Bit representations 1 Least significant bit

  9. Sudoku Puzzle  Each number should be included once in each: 4  Row  Column 3  Block 2  Bit representations 1 Least significant bit

  10. Sudoku Puzzle  Each number should be included once in each: 4  Row  Column 3  Block 2  Bit representations 1 Least significant bit

  11. Sudoku Puzzle Most significant bit  Each number should be included once in each: 4  Row  Column 3  Block 2  Bit representations 1 Least significant bit

  12. Sudoku Puzzle Most significant bit  Each number should be included once in each: 4  Row  Column 3  Block 2  Bit representations 1 Least significant bit

  13. Sudoku Puzzle Most significant bit  Each number should be included once in each: 4  Row  Column 3  Block 2  Bit representations 1  Only one digit should be one in a given cell Least significant bit

  14. Sudoku Puzzle - onlyOne

  15. Sudoku Puzzle - onlyOne

  16. Sudoku Puzzle - onlyOne

  17. Sudoku Puzzle - onlyOne 3 1 2 4

  18. Sudoku Puzzle - onlyOne 3 1 2 4 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 1

  19. Sudoku Puzzle - onlyOne 3 1 2 4 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 1 onlyOne nodes for each row  onlyOne nodes for each column  onlyOne nodes for each block  onlyOne nodes for each cell 

  20. Sudoku Puzzle - onlyOne Find the minimum via direct inspection of the different solutions values

  21. Sudoku Puzzle - onlyOne Compare each of the following values against the reference

  22. Sudoku Puzzle - onlyOne Compare each of the following values against the reference notice that

  23. Sudoku Puzzle - onlyOne Compare each of the following values against the reference notice that therefore

  24. Sudoku Puzzle - onlyOne Compare each of the following values against the reference notice that therefore Index corresponds to the maximum

  25. Sudoku Puzzle - knowThat  Some cell values are known from the beginning  knowThat functions constantly produce those values for the corresponding cells 4 3 2 1

  26. Sudoku Puzzle - knowThat  Some cell values are known from the beginning  knowThat functions constantly produce those values for the corresponding cells 4 3 0 1 0 0 2 1

  27. Sudoku Puzzle - knowThat  Some cell values are known from the beginning  knowThat functions constantly produce those values for the corresponding cells 4 3 0 1 0 0 2 1

  28. Sudoku Puzzle – Factor graph 4

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend