This online textbook, written by Changhyun Kwon, covers many aspects of optimization modelling in the Julia programming language using the JuMP (Julia for Mathematical Programming) package.
According to the author:
This book is neither a textbook in numerical methods, a comprehensive introductory book to Julia programming, a textbook on numerical optimization, a complete manual of optimization solvers, nor an introductory book to computational science and engineering—it is a little bit of all.
Changhyun Kwon, preface of "Julia programming for Operations Research"
This textbook includes many examples, which have source code available on GitHub.
Textbook: Julia programming for Operations Research.
GitHub: Code repository for textbook.