From 46f4933313fed7c101b8b82bcaeaff7ea3e429eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Fri, 10 Oct 2025 15:59:55 +0200 Subject: [PATCH] Add NonlinearProgram in docstring --- src/moi_wrapper.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/moi_wrapper.jl b/src/moi_wrapper.jl index 06b0dcbc..56cd2096 100644 --- a/src/moi_wrapper.jl +++ b/src/moi_wrapper.jl @@ -532,6 +532,8 @@ Examples: julia> MOI.set(model, DiffOpt.ModelConstructor(), DiffOpt.QuadraticProgram.Model) julia> MOI.set(model, DiffOpt.ModelConstructor(), DiffOpt.ConicProgram.Model) + +julia> MOI.set(model, DiffOpt.ModelConstructor(), DiffOpt.NonlinearProgram.Model) ``` """ struct ModelConstructor <: MOI.AbstractOptimizerAttribute end