Pytorch-based framework for solving parametric constrained optimization problems, physics-informed system identification, and parametric model predictive contro
Pytorch-based framework for solving parametric constrained optimization problems, physics-informed system identification, and parametric model predictive contro
Neural Modules with Adaptive Nonlinear Constraints and Efficient Regularizations (NeuroMANCER) is an open-source differentiable programming (DP) library for solving parametric constrained optimization problems, physics-informed system identification, and parametric model-based optimal control. NeuroMANCER is written in PyTorch and allows for systematic integration of machine learning with scientific computing for creating end-to-end differentiable models and algorithms embedded with prior knowledge and physics.
Simply run
pip install neuromancerFor manual installation, please refer to Installation Instructions
An extensive set of tutorials can be found in the examples folder and the Tutorials below. Interactive notebook versions of examples are available on Google Colab! Test out NeuroMANCER functionality before cloning the repository and setting up an environment.
The notebooks below introduce the core abstractions of the NeuroMANCER library, in particular, our symbolic programming interface and Node classes.
Part 2: NeuroMANCER syntax tutorial: variables, constraints, and objectives.
Part 3: NeuroMANCER syntax tutorial: modules, Node, and System class.
Quick example for how to solve parametric constrained optimization problem using NeuroMANCER, leveraging our symbolic programming interface, Node and Variable, Blocks, SLiM library, and PenaltyLoss classes.
…NeuroMANCER is built to tackle a variety of domain-specific modeling and control problems using its array of methods. Here we show how to model and control building energy systems, as well as apply load forecasting techniques.
For more in-depth coverage of our methods, please see our general Tutorials section below.
Neuromancer allows you to formulate and solve a broad class of parametric optimization problems, leveraging machine learning to learn the solutions to such problems. More information on Parametric programming
Learning to solve a quadratically-constrained optimization problem.
Learning to solve a set of 2D constrained optimization problems.
Learning to solve a constrained optimization problem with the projected gradient.
Using Cvxpylayers for differentiable projection onto the polytopic feasible set.
Learning to optimize with metric learning for Operator Splitting layers.
Neuromancer enables you to learn control policies for a full spectrum of differentiable white-box, grey-box, and black-box dynamical systems, subject to choice constraints and objective functions. More information on Differential Predictive Control
Neuromancer is up-to-date with state-of-the-art methods. Here we showcase the powerful Kolgomorov-Arnold networks More information on Kolgomorov-Arnold Networks
Neuromancer contains an implementation of function encoders, an algorithm for learning basis functions as
No open issues yet, or sync has not completed.