Tag Archives: video

Solving the Grid of Resistors Lab in Julia (Viral B. Shah)

By: JuliaLanguage YouTube

Re-posted from: http://www.youtube.com/watch?v=OFWYPqwVtHU&feature=youtube_gdata

The Grid of Resistors is a classic numerical problem to compute the voltages and the effective resistance of a 2n+1 by 2n+2 grid of 1 ohm resistors if a battery is connected to the two center points. As part of this lab, the problem is solved in Julia in a number of different ways such as a vectorized implementation, a devectorized implementation, and using comprehensions, in order to study the performance characteristics of various methods.

Lab: https://github.com/JuliaLang/julia-tutorial/blob/master/GridOfResistors/GridOfResistors.md
Solution: https://github.com/JuliaLang/julia-tutorial/tree/master/GridOfResistors

Numerical Optimization in Julia (Miles Lubin, Iain Dunning)

By: JuliaLanguage YouTube

Re-posted from: http://www.youtube.com/watch?v=O1icUP6sajU&feature=youtube_gdata

A number of optimization libraries are already available for Julia. This session focusses largely on linear programming. These packages are relevant for optimization and linear programming: Optim (https://github.com/johnmyleswhite/Optim.jl), MathProg (https://github.com/IainNZ/MathProg.jl), CLP (https://github.com/mlubin/Clp.jl), GLPK (https://github.com/carlobaldassi/GLPK.jl), and Gurobi (https://github.com/lindahua/Gurobi.jl).

Slides: https://github.com/JuliaLang/julia-tutorial/raw/master/NumericalOptimization/presentation.pdf