A Julia Framework for Graph-Structured Nonlinear Optimization

David L Cole, Sungho Shin, Victor Zavala
4/11/2022
math.OC

Official code: zavalab/JuliaBox (59 stars, Jupyter Notebook, last commit 2026-04-21).

Abstract

Graph theory provides a convenient framework for modeling and solving structured optimization problems. Under this framework, the modeler can arrange/assemble the components of an optimization model (variables, constraints, objective functions, and data) within nodes and edges of a graph, and this representation can be used to visualize, manipulate, and solve the problem.

Show full abstract

In this work, we present a ${\tt Julia}$ framework for modeling and solving graph-structured nonlinear optimization problems. Our framework integrates the modeling package ${\tt Plasmo.jl}$ (which facilitates the construction and manipulation of graph models) and the nonlinear optimization solver ${\tt MadNLP.jl}$ (which provides capabilities for exploiting graph structures to accelerate solution). We illustrate with a simple example how model construction and manipulation can be performed in an intuitive manner using ${\tt Plasmo.jl}$ and how the model structure can be exploited by ${\tt MadNLP.jl}$. We also demonstrate the scalability of the framework by targeting a large-scale, stochastic gas network problem that contains over 1.7 million variables.

View on arXivView PDF

Code Implementations(1)

zavalab/JuliaBoxOfficial100%
5933Jupyter Notebook, MATLABFeb 9, 20167 months ago

Similar Papers

Cite this paper

@article{cole2022julia,
  title  = {A Julia Framework for Graph-Structured Nonlinear Optimization},
  author = {David L Cole and Sungho Shin and Victor Zavala},
  year   = {2022},
  eprint = {2204.05264},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.05264}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.05264.svg)](https://codeofpaper.com/paper/2204.05264)

Discussion