Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions src/Meta/aircrfta.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,40 @@ 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

AMPL Model by Hande Y. Benson
Comment on lines +19 to +23
Copy link

Copilot AI Mar 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The newly added :url, :notes, :origin_notes, and :reference keys are not part of the aggregated OptimizationProblems.meta DataFrame (which only copies a fixed list of keys). If these fields are meant to be discoverable via the standard metadata interface, consider extending cols_names/types and the DataFrame population logic (or adding a documented accessor) so users can query them without reaching into aircrfta_meta directly.

Copilot uses AI. Check for mistakes.

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.
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
get_aircrfta_ncon(; n::Integer = default_nvar, kwargs...) = 5
Expand Down
20 changes: 0 additions & 20 deletions src/PureJuMP/aircrfta.jl
Original file line number Diff line number Diff line change
@@ -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...)
Comment on lines 1 to 3
Copy link

Copilot AI Mar 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upstream license/permission text that was previously embedded in this source file has been removed. Since the permission grant explicitly requires the copyright/permission notice to appear in all copies, keeping the notice only in a separate Meta file may not satisfy that requirement (and is inconsistent with other PureJuMP problem files that retain this header). Consider restoring a minimal copyright/permission header in this file (or otherwise ensuring the notice is included with this source when distributed).

Copilot uses AI. Check for mistakes.
Expand Down
Loading