From de985ca1f13b1064a3f6c1a99431e1b580de85a9 Mon Sep 17 00:00:00 2001 From: tmigot Date: Fri, 27 Feb 2026 17:46:07 -0500 Subject: [PATCH 1/2] Move doc from comments to meta (aircrfta) --- src/Meta/aircrfta.jl | 24 ++++++++++++++++++++++++ src/PureJuMP/aircrfta.jl | 20 -------------------- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/src/Meta/aircrfta.jl b/src/Meta/aircrfta.jl index dfd85ac9..27d13962 100644 --- a/src/Meta/aircrfta.jl +++ b/src/Meta/aircrfta.jl @@ -16,6 +16,30 @@ aircrfta_meta = Dict( :is_feasible => true, :defined_everywhere => missing, :origin => :unknown, + :notes => raw""" +Converted in Julia from https://github.com/mpf/Optimization-Test-Problems + +AMPL Model by Hande Y. Benson + +Copyright (C) 2001 Princeton University +All Rights Reserved + +Permission to use, copy, modify, and distribute this software and +its documentation for any purpose and without fee is hereby +granted, provided that the above copyright notice appear in all +copies and that the copyright notice and this +permission notice appear in all supporting documentation. +""", + :origin_notes => raw""" +SIF input: Ph. Toint, Dec 1989. classification NOR2-RN-8-5 +""", + :reference => raw""" +Problem 9, +J.J. More, A collection of nonlinear model problems, +Proceedings of the AMS-SIAM Summer Seminar on the Computational. +Solution of Nonlinear Systems of Equations, Colorado, 1988. +Argonne National Laboratory MCS-P60-0289, 1989. +""", ) get_aircrfta_nvar(; n::Integer = default_nvar, kwargs...) = 8 get_aircrfta_ncon(; n::Integer = default_nvar, kwargs...) = 5 diff --git a/src/PureJuMP/aircrfta.jl b/src/PureJuMP/aircrfta.jl index 8783a28b..b20be9b2 100644 --- a/src/PureJuMP/aircrfta.jl +++ b/src/PureJuMP/aircrfta.jl @@ -1,23 +1,3 @@ -# -# Converted in Julia from https://github.com/mpf/Optimization-Test-Problems -# -# AMPL Model by Hande Y. Benson -# -# Copyright (C) 2001 Princeton University -# All Rights Reserved -# -# Permission to use, copy, modify, and distribute this software and -# its documentation for any purpose and without fee is hereby -# granted, provided that the above copyright notice appear in all -# copies and that the copyright notice and this -# permission notice appear in all supporting documentation. -# Source: Problem 9 in -# J.J. More',"A collection of nonlinear model problems" -# Proceedings of the AMS-SIAM Summer Seminar on the Computational -# Solution of Nonlinear Systems of Equations, Colorado, 1988. -# Argonne National Laboratory MCS-P60-0289, 1989. -# SIF input: Ph. Toint, Dec 1989. -# classification NOR2-RN-8-5 export aircrfta function aircrfta(; n::Int = default_nvar, kwargs...) From b0f84428adc9da33d93752dea13f1c389b5cb09b Mon Sep 17 00:00:00 2001 From: tmigot Date: Sun, 29 Mar 2026 13:29:05 -0400 Subject: [PATCH 2/2] up --- src/Meta/aircrfta.jl | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/Meta/aircrfta.jl b/src/Meta/aircrfta.jl index 27d13962..542dceb8 100644 --- a/src/Meta/aircrfta.jl +++ b/src/Meta/aircrfta.jl @@ -16,6 +16,7 @@ aircrfta_meta = Dict( :is_feasible => true, :defined_everywhere => missing, :origin => :unknown, + :url => "https://www.osti.gov/biblio/6449249", :notes => raw""" Converted in Julia from https://github.com/mpf/Optimization-Test-Problems @@ -31,14 +32,23 @@ copies and that the copyright notice and this permission notice appear in all supporting documentation. """, :origin_notes => raw""" -SIF input: Ph. Toint, Dec 1989. classification NOR2-RN-8-5 -""", - :reference => raw""" +SIF input: Ph. Toint, Dec 1989. classification NOR2-RN-8-5. Problem 9, J.J. More, A collection of nonlinear model problems, Proceedings of the AMS-SIAM Summer Seminar on the Computational. Solution of Nonlinear Systems of Equations, Colorado, 1988. Argonne National Laboratory MCS-P60-0289, 1989. +""", + :reference => raw""" +@article{more1990collection, + title={A collection of nonlinear model problems. Computational Solution of Nonlinear Systems of Equations}, + author={Mor{\'e}, Jorge J.}, + journal={Lectures in Applied Mathematics}, + volume={26}, + pages={723--762}, + year={1990}, + publisher={American Mathematical Society} +} """, ) get_aircrfta_nvar(; n::Integer = default_nvar, kwargs...) = 8