MathOptAI.jl
MathOptAI.jl copied to clipboard
Allow Weights to be Variables
It would be nice to optionally set the weights/biases as decision variables where the start values are based on the values read in with the network. My use case is to do this in InfiniteOpt to train small to moderate sided neural ODEs. See https://arxiv.org/abs/2504.04665. Gekko in python also supports training neural networks.