paper-with-me

홈 › Papers

MathOptAI.jl: Embed trained machine learning predictors into JuMP models

2025-07-03 · Oscar Dowson, Robert B Parker, Russel Bent

We present \texttt{MathOptAI.jl}, an open-source Julia library for embedding trained machine learning predictors into a JuMP model. \texttt{MathOptAI.jl} can embed a wide variety of neural networks, decision trees, and Gaussian Processes into a larger mathematical optimization model. In addition to interfacing a range of Julia-based machine learning libraries such as \texttt{Lux.jl} and \texttt{Flux.jl}, \texttt{MathOptAI.jl} uses Julia's Python interface to provide support for PyTorch models. When the PyTorch support is combined with \texttt{MathOptAI.jl}'s gray-box formulation, the function, Jacobian, and Hessian evaluations associated with the PyTorch model are offloaded to the GPU in Python, while the rest of the nonlinear oracles are evaluated on the CPU in Julia. \MathOptAI is available at https://github.com/lanl-ansi/MathOptAI.jl under a BSD-3 license.

📄 PDF Abstract BibTeX arXiv:2507.03159

Code (1)

lanl-ansi/mathoptai.jl 공식 구현

Tasks

CPUGaussian ProcessesGPU

Similar Papers 제목 키워드 기반

PySCIPOpt-ML: Embedding Trained Machine Learning Models into Mixed-Integer Programs

2023-12-13 · Mark Turner, Antonia Chmiela, Thorsten Koch, Michael Winkler

A standard tool for modelling real-world optimisation problems is mixed-integer programming (MIP). However, for many of these problems, information about the relationships between variables is either incomplete or highly…

Formulations and scalability of neural network surrogates in nonlinear optimization problems

2024-12-16 · Robert B. Parker, Oscar Dowson, Nicole LoGiudice, Manuel Garcia 외

We compare full-space, reduced-space, and gray-box formulations for representing trained neural networks in nonlinear constrained optimization problems. We test these formulations on a transient stability-constrained, se…

GPU

Learning to Embed Words in Context for Syntactic Tasks

2017-06-09 · WS 2017 8 · Lifu Tu, Kevin Gimpel, Karen Livescu

We present models for embedding words in the context of surrounding words. Such models, which we refer to as token embeddings, represent the characteristics of a word that are specific to a given context, such as word se…

Improving Image Autoencoder Embeddings with Perceptual Loss

2020-01-10 · Gustav Grund Pihlgren, Fredrik Sandin, Marcus Liwicki

Autoencoders are commonly trained using element-wise loss. However, element-wise loss disregards high-level structures in the image which can lead to embeddings that disregard them as well. A recent improvement to autoen…

Learning Representations by Humans, for Humans

2019-05-29 · Sophie Hilgard, Nir Rosenfeld, Mahzarin R. Banaji, Jack Cao 외

When machine predictors can achieve higher performance than the human decision-makers they support, improving the performance of human decision-makers is often conflated with improving machine accuracy. Here we propose a…

Decision MakingRepresentation Learning