From 76d6c00db9125ca4dce352e57e755032e569918f Mon Sep 17 00:00:00 2001 From: Steven Janzou Date: Tue, 30 Jul 2024 02:20:41 -0600 Subject: [PATCH] Readme and header for each file updates per feedback on #1192 --- lpsolve/colamd.cpp | 11 ++++++++++ lpsolve/colamd.h | 11 ++++++++++ lpsolve/commonlib.cpp | 11 ++++++++++ lpsolve/commonlib.h | 11 ++++++++++ lpsolve/fortify.cpp | 11 ++++++++++ lpsolve/ini.cpp | 11 ++++++++++ lpsolve/ini.h | 11 ++++++++++ lpsolve/lp_BFP.h | 11 ++++++++++ lpsolve/lp_BFP1.cpp | 11 ++++++++++ lpsolve/lp_BFP2.cpp | 11 ++++++++++ lpsolve/lp_Hash.cpp | 11 ++++++++++ lpsolve/lp_Hash.h | 11 ++++++++++ lpsolve/lp_LUSOL.cpp | 11 ++++++++++ lpsolve/lp_LUSOL.h | 11 ++++++++++ lpsolve/lp_MDO.cpp | 11 ++++++++++ lpsolve/lp_MDO.h | 11 ++++++++++ lpsolve/lp_MPS.cpp | 11 ++++++++++ lpsolve/lp_MPS.h | 11 ++++++++++ lpsolve/lp_SOS.cpp | 11 ++++++++++ lpsolve/lp_SOS.h | 11 ++++++++++ lpsolve/lp_bit.h | 11 ++++++++++ lpsolve/lp_crash.cpp | 11 ++++++++++ lpsolve/lp_crash.h | 11 ++++++++++ lpsolve/lp_lib.cpp | 11 ++++++++++ lpsolve/lp_lib.h | 11 ++++++++++ lpsolve/lp_matrix.cpp | 11 ++++++++++ lpsolve/lp_matrix.h | 11 ++++++++++ lpsolve/lp_mipbb.cpp | 11 ++++++++++ lpsolve/lp_mipbb.h | 11 ++++++++++ lpsolve/lp_params.cpp | 11 ++++++++++ lpsolve/lp_presolve.cpp | 11 ++++++++++ lpsolve/lp_presolve.h | 11 ++++++++++ lpsolve/lp_price.cpp | 11 ++++++++++ lpsolve/lp_price.h | 11 ++++++++++ lpsolve/lp_pricePSE.cpp | 11 ++++++++++ lpsolve/lp_pricePSE.h | 11 ++++++++++ lpsolve/lp_report.cpp | 11 ++++++++++ lpsolve/lp_report.h | 11 ++++++++++ lpsolve/lp_rlp.cpp | 11 ++++++++++ lpsolve/lp_rlp.h | 11 ++++++++++ lpsolve/lp_scale.cpp | 11 ++++++++++ lpsolve/lp_scale.h | 11 ++++++++++ lpsolve/lp_simplex.cpp | 11 ++++++++++ lpsolve/lp_simplex.h | 11 ++++++++++ lpsolve/lp_solve.cpp | 11 ++++++++++ lpsolve/lp_types.h | 11 ++++++++++ lpsolve/lp_utils.cpp | 11 ++++++++++ lpsolve/lp_utils.h | 11 ++++++++++ lpsolve/lp_wlp.cpp | 11 ++++++++++ lpsolve/lp_wlp.h | 11 ++++++++++ lpsolve/lpkit.h | 11 ++++++++++ lpsolve/lusol.cpp | 11 ++++++++++ lpsolve/lusol.h | 11 ++++++++++ lpsolve/lusol1.cpp | 11 ++++++++++ lpsolve/lusol2.cpp | 11 ++++++++++ lpsolve/lusol6a.cpp | 11 ++++++++++ lpsolve/lusol6l0.cpp | 11 ++++++++++ lpsolve/lusol6u.cpp | 11 ++++++++++ lpsolve/lusol7a.cpp | 11 ++++++++++ lpsolve/lusol8a.cpp | 11 ++++++++++ lpsolve/mmio.cpp | 11 ++++++++++ lpsolve/mmio.h | 11 ++++++++++ lpsolve/myblas.cpp | 11 ++++++++++ lpsolve/myblas.h | 11 ++++++++++ lpsolve/yacc_read.cpp | 11 ++++++++++ lpsolve/yacc_read.h | 11 ++++++++++ nlopt/DIRect.cpp | 11 ++++++++++ nlopt/DIRserial.cpp | 11 ++++++++++ nlopt/DIRsubrout.cpp | 11 ++++++++++ nlopt/README.md | 44 ++++++++++++++++++++++++++++++++++++++++ nlopt/auglag.cpp | 11 ++++++++++ nlopt/auglag.h | 11 ++++++++++ nlopt/bobyqa.cpp | 11 ++++++++++ nlopt/bobyqa.h | 11 ++++++++++ nlopt/ccsa_quadratic.cpp | 11 ++++++++++ nlopt/cdirect.cpp | 11 ++++++++++ nlopt/cdirect.h | 11 ++++++++++ nlopt/cobyla.cpp | 11 ++++++++++ nlopt/cobyla.h | 11 ++++++++++ nlopt/config-windows.h | 11 ++++++++++ nlopt/crs.cpp | 11 ++++++++++ nlopt/crs.h | 11 ++++++++++ nlopt/deprecated.cpp | 11 ++++++++++ nlopt/direct-internal.h | 11 ++++++++++ nlopt/direct.h | 11 ++++++++++ nlopt/direct_wrap.cpp | 11 ++++++++++ nlopt/esch.cpp | 11 ++++++++++ nlopt/esch.h | 11 ++++++++++ nlopt/general.cpp | 11 ++++++++++ nlopt/hybrid.cpp | 11 ++++++++++ nlopt/isres.cpp | 11 ++++++++++ nlopt/isres.h | 11 ++++++++++ nlopt/luksan.h | 11 ++++++++++ nlopt/mlsl.cpp | 11 ++++++++++ nlopt/mlsl.h | 11 ++++++++++ nlopt/mma.cpp | 11 ++++++++++ nlopt/mma.h | 11 ++++++++++ nlopt/mssubs.cpp | 11 ++++++++++ nlopt/mt19937ar.cpp | 11 ++++++++++ nlopt/neldermead.h | 11 ++++++++++ nlopt/newuoa.cpp | 11 ++++++++++ nlopt/newuoa.h | 11 ++++++++++ nlopt/nldrmd.cpp | 11 ++++++++++ nlopt/nlopt-internal.h | 11 ++++++++++ nlopt/nlopt-util.h | 11 ++++++++++ nlopt/nlopt.h | 11 ++++++++++ nlopt/optimize.cpp | 11 ++++++++++ nlopt/options.cpp | 11 ++++++++++ nlopt/platform-config.h | 11 ++++++++++ nlopt/plip.cpp | 11 ++++++++++ nlopt/plis.cpp | 11 ++++++++++ nlopt/pnet.cpp | 11 ++++++++++ nlopt/praxis.cpp | 11 ++++++++++ nlopt/praxis.h | 11 ++++++++++ nlopt/pssubs.cpp | 11 ++++++++++ nlopt/qsort_r.cpp | 11 ++++++++++ nlopt/redblack.cpp | 11 ++++++++++ nlopt/redblack.h | 11 ++++++++++ nlopt/rescale.cpp | 11 ++++++++++ nlopt/sbplx.cpp | 11 ++++++++++ nlopt/slsqp.cpp | 11 ++++++++++ nlopt/slsqp.h | 11 ++++++++++ nlopt/soboldata.h | 11 ++++++++++ nlopt/sobolseq.cpp | 11 ++++++++++ nlopt/stop.cpp | 11 ++++++++++ nlopt/sys/time.cpp | 11 ++++++++++ nlopt/sys/time.h | 11 ++++++++++ nlopt/sys/times.h | 11 ++++++++++ 128 files changed, 1441 insertions(+) create mode 100644 nlopt/README.md diff --git a/lpsolve/colamd.cpp b/lpsolve/colamd.cpp index f48c6f567..2389344cb 100644 --- a/lpsolve/colamd.cpp +++ b/lpsolve/colamd.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ========================================================================== */ /* === colamd/symamd - a sparse matrix column ordering algorithm ============ */ /* ========================================================================== */ diff --git a/lpsolve/colamd.h b/lpsolve/colamd.h index e8539922a..5423d1d53 100644 --- a/lpsolve/colamd.h +++ b/lpsolve/colamd.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ========================================================================== */ /* === colamd/symamd prototypes and definitions ============================= */ /* ========================================================================== */ diff --git a/lpsolve/commonlib.cpp b/lpsolve/commonlib.cpp index 5a9db735f..44727144f 100644 --- a/lpsolve/commonlib.cpp +++ b/lpsolve/commonlib.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include diff --git a/lpsolve/commonlib.h b/lpsolve/commonlib.h index 5e82d91f5..21cec2150 100644 --- a/lpsolve/commonlib.h +++ b/lpsolve/commonlib.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_commonlib #define HEADER_commonlib diff --git a/lpsolve/fortify.cpp b/lpsolve/fortify.cpp index c15afebab..184ce9f04 100644 --- a/lpsolve/fortify.cpp +++ b/lpsolve/fortify.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* * FILE: * fortify.c diff --git a/lpsolve/ini.cpp b/lpsolve/ini.cpp index df263f1e3..bc9670ad9 100644 --- a/lpsolve/ini.cpp +++ b/lpsolve/ini.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #include #include diff --git a/lpsolve/ini.h b/lpsolve/ini.h index 3bef0d7b3..8554fc149 100644 --- a/lpsolve/ini.h +++ b/lpsolve/ini.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #ifdef __cplusplus diff --git a/lpsolve/lp_BFP.h b/lpsolve/lp_BFP.h index 36e1fbb92..30c946b1a 100644 --- a/lpsolve/lp_BFP.h +++ b/lpsolve/lp_BFP.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ---------------------------------------------------------------------------------- */ /* lp_solve v5+ headers for basis inversion / factorization libraries */ diff --git a/lpsolve/lp_BFP1.cpp b/lpsolve/lp_BFP1.cpp index 663336c73..9fb75ebf9 100644 --- a/lpsolve/lp_BFP1.cpp +++ b/lpsolve/lp_BFP1.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* Routines located in lp_BFP1.cpp; common for all factorization engines */ /* Cfr. lp_BFP.h for definitions */ diff --git a/lpsolve/lp_BFP2.cpp b/lpsolve/lp_BFP2.cpp index f5232fa9c..982f54c7e 100644 --- a/lpsolve/lp_BFP2.cpp +++ b/lpsolve/lp_BFP2.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* Routines located in lp_BFP2.cpp; optional shared for canned implementations */ diff --git a/lpsolve/lp_Hash.cpp b/lpsolve/lp_Hash.cpp index 5a5276acf..3582263bd 100644 --- a/lpsolve/lp_Hash.cpp +++ b/lpsolve/lp_Hash.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #include diff --git a/lpsolve/lp_Hash.h b/lpsolve/lp_Hash.h index b286960cf..dfc964c5f 100644 --- a/lpsolve/lp_Hash.h +++ b/lpsolve/lp_Hash.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_hash #define HEADER_lp_hash diff --git a/lpsolve/lp_LUSOL.cpp b/lpsolve/lp_LUSOL.cpp index 1f2948c66..1bfda127b 100644 --- a/lpsolve/lp_LUSOL.cpp +++ b/lpsolve/lp_LUSOL.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* Modularized simplex basis factorization module - w/interface for lp_solve v5.0+ ---------------------------------------------------------------------------------- diff --git a/lpsolve/lp_LUSOL.h b/lpsolve/lp_LUSOL.h index 6bf4157e5..70a931059 100644 --- a/lpsolve/lp_LUSOL.h +++ b/lpsolve/lp_LUSOL.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_LUSOL #define HEADER_lp_LUSOL diff --git a/lpsolve/lp_MDO.cpp b/lpsolve/lp_MDO.cpp index 12172298e..e597b45fe 100644 --- a/lpsolve/lp_MDO.cpp +++ b/lpsolve/lp_MDO.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* Minimum matrix inverse fill-in modules - interface for lp_solve v5.0+ ---------------------------------------------------------------------------------- diff --git a/lpsolve/lp_MDO.h b/lpsolve/lp_MDO.h index 84753638a..376aa2bb3 100644 --- a/lpsolve/lp_MDO.h +++ b/lpsolve/lp_MDO.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_MDO #define HEADER_MDO diff --git a/lpsolve/lp_MPS.cpp b/lpsolve/lp_MPS.cpp index c67eeece3..fe7e282d8 100644 --- a/lpsolve/lp_MPS.cpp +++ b/lpsolve/lp_MPS.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #include #include diff --git a/lpsolve/lp_MPS.h b/lpsolve/lp_MPS.h index 0d9702696..c78ce47d3 100644 --- a/lpsolve/lp_MPS.h +++ b/lpsolve/lp_MPS.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_MPS #define HEADER_lp_MPS diff --git a/lpsolve/lp_SOS.cpp b/lpsolve/lp_SOS.cpp index 2a42176ac..f3fa78594 100644 --- a/lpsolve/lp_SOS.cpp +++ b/lpsolve/lp_SOS.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #include diff --git a/lpsolve/lp_SOS.h b/lpsolve/lp_SOS.h index 27df12ce7..f950220ce 100644 --- a/lpsolve/lp_SOS.h +++ b/lpsolve/lp_SOS.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_SOS #define HEADER_lp_SOS diff --git a/lpsolve/lp_bit.h b/lpsolve/lp_bit.h index 587726f8f..f911a4cf7 100644 --- a/lpsolve/lp_bit.h +++ b/lpsolve/lp_bit.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include "lp_types.h" #if defined INLINE diff --git a/lpsolve/lp_crash.cpp b/lpsolve/lp_crash.cpp index 90a1af343..87c231c93 100644 --- a/lpsolve/lp_crash.cpp +++ b/lpsolve/lp_crash.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ---------------------------------------------------------------------------------- diff --git a/lpsolve/lp_crash.h b/lpsolve/lp_crash.h index eb1f84de3..e0ccfd638 100644 --- a/lpsolve/lp_crash.h +++ b/lpsolve/lp_crash.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_crash #define HEADER_lp_crash diff --git a/lpsolve/lp_lib.cpp b/lpsolve/lp_lib.cpp index 4268718b5..8b6bf99b0 100644 --- a/lpsolve/lp_lib.cpp +++ b/lpsolve/lp_lib.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ---------------------------------------------------------------------------------- Main library of routines for lp_solve v5.0+ diff --git a/lpsolve/lp_lib.h b/lpsolve/lp_lib.h index 532953c16..7269d365f 100644 --- a/lpsolve/lp_lib.h +++ b/lpsolve/lp_lib.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_lib #define HEADER_lp_lib diff --git a/lpsolve/lp_matrix.cpp b/lpsolve/lp_matrix.cpp index e3c76083d..f746d2966 100644 --- a/lpsolve/lp_matrix.cpp +++ b/lpsolve/lp_matrix.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #include #include "commonlib.h" diff --git a/lpsolve/lp_matrix.h b/lpsolve/lp_matrix.h index 3a1044f99..184f9e493 100644 --- a/lpsolve/lp_matrix.h +++ b/lpsolve/lp_matrix.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_matrix #define HEADER_lp_matrix diff --git a/lpsolve/lp_mipbb.cpp b/lpsolve/lp_mipbb.cpp index 6adb34d07..811433869 100644 --- a/lpsolve/lp_mipbb.cpp +++ b/lpsolve/lp_mipbb.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* Mixed integer programming optimization drivers for lp_solve v5.0+ diff --git a/lpsolve/lp_mipbb.h b/lpsolve/lp_mipbb.h index db1947c2e..ad83dde41 100644 --- a/lpsolve/lp_mipbb.h +++ b/lpsolve/lp_mipbb.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_mipbb #define HEADER_lp_mipbb diff --git a/lpsolve/lp_params.cpp b/lpsolve/lp_params.cpp index 7c23fb843..f34f28c90 100644 --- a/lpsolve/lp_params.cpp +++ b/lpsolve/lp_params.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #include #include diff --git a/lpsolve/lp_presolve.cpp b/lpsolve/lp_presolve.cpp index 9e4553ee8..49a8e090c 100644 --- a/lpsolve/lp_presolve.cpp +++ b/lpsolve/lp_presolve.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ------------------------------------------------------------------------- Presolve routines for lp_solve v5.0+ diff --git a/lpsolve/lp_presolve.h b/lpsolve/lp_presolve.h index f59406ba4..2f9c28c7a 100644 --- a/lpsolve/lp_presolve.h +++ b/lpsolve/lp_presolve.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_presolve #define HEADER_lp_presolve diff --git a/lpsolve/lp_price.cpp b/lpsolve/lp_price.cpp index d60652191..76a261775 100644 --- a/lpsolve/lp_price.cpp +++ b/lpsolve/lp_price.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #include #include "commonlib.h" diff --git a/lpsolve/lp_price.h b/lpsolve/lp_price.h index 9e8d8bcda..f70e84787 100644 --- a/lpsolve/lp_price.h +++ b/lpsolve/lp_price.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_price #define HEADER_lp_price diff --git a/lpsolve/lp_pricePSE.cpp b/lpsolve/lp_pricePSE.cpp index f77fdbe65..f8e6822b9 100644 --- a/lpsolve/lp_pricePSE.cpp +++ b/lpsolve/lp_pricePSE.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #include "commonlib.h" diff --git a/lpsolve/lp_pricePSE.h b/lpsolve/lp_pricePSE.h index 1c8c2f8f4..fea5128f2 100644 --- a/lpsolve/lp_pricePSE.h +++ b/lpsolve/lp_pricePSE.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_pricePSE #define HEADER_lp_pricePSE diff --git a/lpsolve/lp_report.cpp b/lpsolve/lp_report.cpp index a46ee8ef1..3db02a0fa 100644 --- a/lpsolve/lp_report.cpp +++ b/lpsolve/lp_report.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* Mixed integer programming optimization drivers for lp_solve v5.0+ diff --git a/lpsolve/lp_report.h b/lpsolve/lp_report.h index a8567fed2..bab2b8f5d 100644 --- a/lpsolve/lp_report.h +++ b/lpsolve/lp_report.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_report #define HEADER_lp_report diff --git a/lpsolve/lp_rlp.cpp b/lpsolve/lp_rlp.cpp index 960a20964..a9fbead56 100644 --- a/lpsolve/lp_rlp.cpp +++ b/lpsolve/lp_rlp.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* A Bison parser, made by GNU Bison 2.3. */ /* Skeleton implementation for Bison's Yacc-like parsers in C diff --git a/lpsolve/lp_rlp.h b/lpsolve/lp_rlp.h index c1e895818..4f7e54870 100644 --- a/lpsolve/lp_rlp.h +++ b/lpsolve/lp_rlp.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ diff --git a/lpsolve/lp_scale.cpp b/lpsolve/lp_scale.cpp index 315dc65c0..1fee530c3 100644 --- a/lpsolve/lp_scale.cpp +++ b/lpsolve/lp_scale.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #include #include "commonlib.h" diff --git a/lpsolve/lp_scale.h b/lpsolve/lp_scale.h index 2aa8cc636..2f4da492b 100644 --- a/lpsolve/lp_scale.h +++ b/lpsolve/lp_scale.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_scale #define HEADER_lp_scale diff --git a/lpsolve/lp_simplex.cpp b/lpsolve/lp_simplex.cpp index c7a6ed07b..d7c82fe20 100644 --- a/lpsolve/lp_simplex.cpp +++ b/lpsolve/lp_simplex.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* Core optimization drivers for lp_solve v5.0+ diff --git a/lpsolve/lp_simplex.h b/lpsolve/lp_simplex.h index d973f72b0..dafe08ebb 100644 --- a/lpsolve/lp_simplex.h +++ b/lpsolve/lp_simplex.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_simplex #define HEADER_lp_simplex diff --git a/lpsolve/lp_solve.cpp b/lpsolve/lp_solve.cpp index e6338c1af..02cd90122 100644 --- a/lpsolve/lp_solve.cpp +++ b/lpsolve/lp_solve.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #include #include diff --git a/lpsolve/lp_types.h b/lpsolve/lp_types.h index c1dbfc307..0af2f2a83 100644 --- a/lpsolve/lp_types.h +++ b/lpsolve/lp_types.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_types #define HEADER_lp_types diff --git a/lpsolve/lp_utils.cpp b/lpsolve/lp_utils.cpp index 0386a2506..1eb9aa8e5 100644 --- a/lpsolve/lp_utils.cpp +++ b/lpsolve/lp_utils.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #define CODE_lp_utils #include #include diff --git a/lpsolve/lp_utils.h b/lpsolve/lp_utils.h index 47f3ec69b..af87ca1a1 100644 --- a/lpsolve/lp_utils.h +++ b/lpsolve/lp_utils.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_utils #define HEADER_lp_utils diff --git a/lpsolve/lp_wlp.cpp b/lpsolve/lp_wlp.cpp index afd7f22af..c14a19948 100644 --- a/lpsolve/lp_wlp.cpp +++ b/lpsolve/lp_wlp.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #include diff --git a/lpsolve/lp_wlp.h b/lpsolve/lp_wlp.h index 010858bab..8ae5b5395 100644 --- a/lpsolve/lp_wlp.h +++ b/lpsolve/lp_wlp.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_lp_lp #define HEADER_lp_lp diff --git a/lpsolve/lpkit.h b/lpsolve/lpkit.h index 87913a414..7144d9a21 100644 --- a/lpsolve/lpkit.h +++ b/lpsolve/lpkit.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include "lp_lib.h" #include "lp_report.h" diff --git a/lpsolve/lusol.cpp b/lpsolve/lusol.cpp index 23513dff0..d12df914b 100644 --- a/lpsolve/lusol.cpp +++ b/lpsolve/lusol.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ LUSOL routines from the Stanford Optimization Laboratory diff --git a/lpsolve/lusol.h b/lpsolve/lusol.h index 81ee30dc4..5e7242d6b 100644 --- a/lpsolve/lusol.h +++ b/lpsolve/lusol.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_LUSOL #define HEADER_LUSOL diff --git a/lpsolve/lusol1.cpp b/lpsolve/lusol1.cpp index 1180c43f0..0741efd4a 100644 --- a/lpsolve/lusol1.cpp +++ b/lpsolve/lusol1.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ================================================================== lu1DCP factors a dense m x n matrix A by Gaussian elimination, diff --git a/lpsolve/lusol2.cpp b/lpsolve/lusol2.cpp index 9fdcbb467..dfe47e492 100644 --- a/lpsolve/lusol2.cpp +++ b/lpsolve/lusol2.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ File lusol2 LUSOL heap management routines diff --git a/lpsolve/lusol6a.cpp b/lpsolve/lusol6a.cpp index 9b62cd673..fca4b2843 100644 --- a/lpsolve/lusol6a.cpp +++ b/lpsolve/lusol6a.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ File lusol6a diff --git a/lpsolve/lusol6l0.cpp b/lpsolve/lusol6l0.cpp index 2a961e03b..a3649d232 100644 --- a/lpsolve/lusol6l0.cpp +++ b/lpsolve/lusol6l0.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* Create a row-based version of L0. This makes it possible to solve L0'x=h (btran) faster for sparse h, diff --git a/lpsolve/lusol6u.cpp b/lpsolve/lusol6u.cpp index e85db5c4d..5ada0d765 100644 --- a/lpsolve/lusol6u.cpp +++ b/lpsolve/lusol6u.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* Create a column-based version of U. This makes it possible to solve Ux=h (ftran) faster for sparse h, diff --git a/lpsolve/lusol7a.cpp b/lpsolve/lusol7a.cpp index c5b69ad96..865badaef 100644 --- a/lpsolve/lusol7a.cpp +++ b/lpsolve/lusol7a.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ File lusol7a diff --git a/lpsolve/lusol8a.cpp b/lpsolve/lusol8a.cpp index 979c5af24..33e398f90 100644 --- a/lpsolve/lusol8a.cpp +++ b/lpsolve/lusol8a.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ File lusol8a diff --git a/lpsolve/mmio.cpp b/lpsolve/mmio.cpp index d528ef251..f3e5febcb 100644 --- a/lpsolve/mmio.cpp +++ b/lpsolve/mmio.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* * Matrix Market I/O library for ANSI C * diff --git a/lpsolve/mmio.h b/lpsolve/mmio.h index 5cc764949..92eb382d1 100644 --- a/lpsolve/mmio.h +++ b/lpsolve/mmio.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* * Matrix Market I/O library for ANSI C * diff --git a/lpsolve/myblas.cpp b/lpsolve/myblas.cpp index 2bbcae20d..672df68f0 100644 --- a/lpsolve/myblas.cpp +++ b/lpsolve/myblas.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #include #include #include diff --git a/lpsolve/myblas.h b/lpsolve/myblas.h index dbce5418b..31fe4a419 100644 --- a/lpsolve/myblas.h +++ b/lpsolve/myblas.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ #ifndef HEADER_myblas #define HEADER_myblas diff --git a/lpsolve/yacc_read.cpp b/lpsolve/yacc_read.cpp index eb2820794..57b285c6c 100644 --- a/lpsolve/yacc_read.cpp +++ b/lpsolve/yacc_read.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* ============================================================================ NAME : yacc_read.c diff --git a/lpsolve/yacc_read.h b/lpsolve/yacc_read.h index 5298e8733..916880229 100644 --- a/lpsolve/yacc_read.h +++ b/lpsolve/yacc_read.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of lp_solve included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The lp_solve specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/lpsolve + +The original version of lp_solve can be found at https://sourceforge.net/projects/lpsolve/ + +********************************************************************************************************************************************/ /* prototypes of functions used in the parser */ #include diff --git a/nlopt/DIRect.cpp b/nlopt/DIRect.cpp index 134f4b797..d2f0b0d0a 100644 --- a/nlopt/DIRect.cpp +++ b/nlopt/DIRect.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* DIRect-transp.f -- translated by f2c (version 20050501). f2c output hand-cleaned by SGJ (August 2007). diff --git a/nlopt/DIRserial.cpp b/nlopt/DIRserial.cpp index 03dd91d40..41183e56b 100644 --- a/nlopt/DIRserial.cpp +++ b/nlopt/DIRserial.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* DIRserial-transp.f -- translated by f2c (version 20050501). f2c output hand-cleaned by SGJ (August 2007). diff --git a/nlopt/DIRsubrout.cpp b/nlopt/DIRsubrout.cpp index 0c2997356..5e9aa8c0c 100644 --- a/nlopt/DIRsubrout.cpp +++ b/nlopt/DIRsubrout.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* DIRsubrout.f -- translated by f2c (version 20050501). f2c output hand-cleaned by SGJ (August 2007). diff --git a/nlopt/README.md b/nlopt/README.md new file mode 100644 index 000000000..f2a88ca12 --- /dev/null +++ b/nlopt/README.md @@ -0,0 +1,44 @@ +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + + + +[![Latest Docs](https://readthedocs.org/projects/nlopt/badge/?version=latest)](http://nlopt.readthedocs.io/en/latest/) +[![Build Status](https://github.com/stevengj/nlopt/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/stevengj/nlopt/actions/workflows/build.yml) + +NLopt is a library for nonlinear local and global optimization, for +functions with and without gradient information. It is designed as +a simple, unified interface and packaging of several free/open-source +nonlinear optimization libraries. + +The latest release can be downloaded from the [NLopt releases](https://github.com/stevengj/nlopt/releases) page on Github, and the +[NLopt manual]( +https://nlopt.readthedocs.io/en/latest/) is hosted on readthedocs. + +NLopt is compiled and installed with the [CMake](https://cmake.org/) build system +(see `CMakeLists.txt` file for available options): + + git clone https://github.com/stevengj/nlopt.git + cd nlopt + mkdir build + cd build + cmake .. + make + sudo make install + +(To build the latest development sources from git, you will need [SWIG](http://www.swig.org/) +to generate the Python and Guile bindings.) + +Once it is installed, `#include ` in your C/C++ programs and +link it with `-lnlopt -lm`. You may need to use a C++ compiler to link +in order to include the C++ libraries (which are used internally by NLopt, +even though it exports a C API). See the [C reference manual](https://nlopt.readthedocs.io/en/latest/NLopt_Reference/). + +There are also interfaces for [C++](https://nlopt.readthedocs.io/en/latest/NLopt_C-plus-plus_Reference/), [Fortran](https://nlopt.readthedocs.io/en/latest/NLopt_Fortran_Reference/), [Python](https://nlopt.readthedocs.io/en/latest/NLopt_Python_Reference/), [Matlab or GNU Octave](https://nlopt.readthedocs.io/en/latest/NLopt_Matlab_Reference/), [OCaml](https://bitbucket.org/mkur/nlopt-ocaml), +[GNU Guile](https://nlopt.readthedocs.io/en/latest/NLopt_Guile_Reference/), [GNU R](https://www.ucl.ac.uk/~uctpjyy/nloptr.html), [Lua](https://github.com/rochus-keller/LuaNLopt), [Rust](https://github.com/jesskfullwood/rust-nlopt), and [Julia](https://github.com/JuliaOpt/NLopt.jl). Interfaces for other languages may +be added in the future. diff --git a/nlopt/auglag.cpp b/nlopt/auglag.cpp index 617a14021..d90642f14 100644 --- a/nlopt/auglag.cpp +++ b/nlopt/auglag.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #include #include #include diff --git a/nlopt/auglag.h b/nlopt/auglag.h index 88981bfe1..cdddbe9b2 100644 --- a/nlopt/auglag.h +++ b/nlopt/auglag.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/bobyqa.cpp b/nlopt/bobyqa.cpp index 40f99bb8b..318a5fdc2 100644 --- a/nlopt/bobyqa.cpp +++ b/nlopt/bobyqa.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* BOBYQA derivative-free optimization code by M. J. D. Powell. Original Fortran code by Powell (2009). Converted via v2c, cleaned up, and incorporated into NLopt by S. G. Johnson (2009). diff --git a/nlopt/bobyqa.h b/nlopt/bobyqa.h index 598753a72..f82c86c72 100644 --- a/nlopt/bobyqa.h +++ b/nlopt/bobyqa.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #ifndef BOBYQA_H #define BOBYQA_H 1 diff --git a/nlopt/ccsa_quadratic.cpp b/nlopt/ccsa_quadratic.cpp index 7f9324bd3..ea74070a5 100644 --- a/nlopt/ccsa_quadratic.cpp +++ b/nlopt/ccsa_quadratic.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/cdirect.cpp b/nlopt/cdirect.cpp index 46ee994c8..f81294922 100644 --- a/nlopt/cdirect.cpp +++ b/nlopt/cdirect.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/cdirect.h b/nlopt/cdirect.h index 5a3f942ea..85413b57d 100644 --- a/nlopt/cdirect.h +++ b/nlopt/cdirect.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/cobyla.cpp b/nlopt/cobyla.cpp index e40648cb0..7442d2cda 100644 --- a/nlopt/cobyla.cpp +++ b/nlopt/cobyla.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* cobyla : contrained optimization by linear approximation */ /* diff --git a/nlopt/cobyla.h b/nlopt/cobyla.h index fd71ee112..e04de3420 100644 --- a/nlopt/cobyla.h +++ b/nlopt/cobyla.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* cobyla : contrained optimization by linear approximation */ /* diff --git a/nlopt/config-windows.h b/nlopt/config-windows.h index 2df795b72..14625d878 100644 --- a/nlopt/config-windows.h +++ b/nlopt/config-windows.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ diff --git a/nlopt/crs.cpp b/nlopt/crs.cpp index 73b1097dc..e119b014a 100644 --- a/nlopt/crs.cpp +++ b/nlopt/crs.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/crs.h b/nlopt/crs.h index 6df9f3d6e..c83c50fe0 100644 --- a/nlopt/crs.h +++ b/nlopt/crs.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/deprecated.cpp b/nlopt/deprecated.cpp index 17891a0f3..835b575d3 100644 --- a/nlopt/deprecated.cpp +++ b/nlopt/deprecated.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/direct-internal.h b/nlopt/direct-internal.h index fb4b274ac..6957b98d8 100644 --- a/nlopt/direct-internal.h +++ b/nlopt/direct-internal.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #ifndef DIRECT_INTERNAL_H #define DIRECT_INTERNAL_H diff --git a/nlopt/direct.h b/nlopt/direct.h index 2b100b238..c67c2041c 100644 --- a/nlopt/direct.h +++ b/nlopt/direct.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #ifndef DIRECT_H #define DIRECT_H diff --git a/nlopt/direct_wrap.cpp b/nlopt/direct_wrap.cpp index 98d7c2809..82d19d23b 100644 --- a/nlopt/direct_wrap.cpp +++ b/nlopt/direct_wrap.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* C-style API for DIRECT functions. SGJ (August 2007). */ #include "direct-internal.h" diff --git a/nlopt/esch.cpp b/nlopt/esch.cpp index e95a2dc65..e2c3460df 100644 --- a/nlopt/esch.cpp +++ b/nlopt/esch.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2008-2013 Carlos Henrique da Silva Santos * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/esch.h b/nlopt/esch.h index 2908b35a6..1711f34df 100644 --- a/nlopt/esch.h +++ b/nlopt/esch.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2008-2013 Carlos Henrique da Silva Santos * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/general.cpp b/nlopt/general.cpp index 313ed66da..40403cc82 100644 --- a/nlopt/general.cpp +++ b/nlopt/general.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/hybrid.cpp b/nlopt/hybrid.cpp index 52abecce1..f48964925 100644 --- a/nlopt/hybrid.cpp +++ b/nlopt/hybrid.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/isres.cpp b/nlopt/isres.cpp index 602c98c3a..13077154d 100644 --- a/nlopt/isres.cpp +++ b/nlopt/isres.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2010 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/isres.h b/nlopt/isres.h index 258e82169..99f0f1778 100644 --- a/nlopt/isres.h +++ b/nlopt/isres.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/luksan.h b/nlopt/luksan.h index 01ac07ba2..dd3e7297f 100644 --- a/nlopt/luksan.h +++ b/nlopt/luksan.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #ifndef LUKSAN_H #define LUKSAN_H diff --git a/nlopt/mlsl.cpp b/nlopt/mlsl.cpp index be2343818..f1bad6510 100644 --- a/nlopt/mlsl.cpp +++ b/nlopt/mlsl.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/mlsl.h b/nlopt/mlsl.h index 7e46c7fc0..fe2c23329 100644 --- a/nlopt/mlsl.h +++ b/nlopt/mlsl.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/mma.cpp b/nlopt/mma.cpp index 86bef6a09..7e916ef37 100644 --- a/nlopt/mma.cpp +++ b/nlopt/mma.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/mma.h b/nlopt/mma.h index a4e607335..919443544 100644 --- a/nlopt/mma.h +++ b/nlopt/mma.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/mssubs.cpp b/nlopt/mssubs.cpp index 728806baa..b5b5e2097 100644 --- a/nlopt/mssubs.cpp +++ b/nlopt/mssubs.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #include #include #include "luksan.h" diff --git a/nlopt/mt19937ar.cpp b/nlopt/mt19937ar.cpp index f6d7f60fc..da004d07d 100644 --- a/nlopt/mt19937ar.cpp +++ b/nlopt/mt19937ar.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* A C-program for MT19937, with initialization improved 2002/1/26. Coded by Takuji Nishimura and Makoto Matsumoto. diff --git a/nlopt/neldermead.h b/nlopt/neldermead.h index 453046d33..25ef27f29 100644 --- a/nlopt/neldermead.h +++ b/nlopt/neldermead.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/newuoa.cpp b/nlopt/newuoa.cpp index b21e4a4e2..d82f9e0fd 100644 --- a/nlopt/newuoa.cpp +++ b/nlopt/newuoa.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2004 M. J. D. Powell (mjdp@cam.ac.uk) * Copyright (c) 2007-2012 Massachusetts Institute of Technology * diff --git a/nlopt/newuoa.h b/nlopt/newuoa.h index b27006940..e4aa849b1 100644 --- a/nlopt/newuoa.h +++ b/nlopt/newuoa.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #ifndef NEWUOA_H #define NEWUOA_H 1 diff --git a/nlopt/nldrmd.cpp b/nlopt/nldrmd.cpp index 9fa6ccdee..86965d71c 100644 --- a/nlopt/nldrmd.cpp +++ b/nlopt/nldrmd.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/nlopt-internal.h b/nlopt/nlopt-internal.h index d1e49c3a4..91522f409 100644 --- a/nlopt/nlopt-internal.h +++ b/nlopt/nlopt-internal.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/nlopt-util.h b/nlopt/nlopt-util.h index b2e2737b0..b9b1aca9f 100644 --- a/nlopt/nlopt-util.h +++ b/nlopt/nlopt-util.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/nlopt.h b/nlopt/nlopt.h index 16696c8a6..4e82f5eac 100644 --- a/nlopt/nlopt.h +++ b/nlopt/nlopt.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/optimize.cpp b/nlopt/optimize.cpp index 1c8c8c6b4..357628675 100644 --- a/nlopt/optimize.cpp +++ b/nlopt/optimize.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/options.cpp b/nlopt/options.cpp index 3f2834cdd..ac23d3155 100644 --- a/nlopt/options.cpp +++ b/nlopt/options.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/platform-config.h b/nlopt/platform-config.h index 28d6d7916..a3e09ae74 100644 --- a/nlopt/platform-config.h +++ b/nlopt/platform-config.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #ifndef __PLATFORM_CONFIG__ #define __PLATFORM_CONFIG__ diff --git a/nlopt/plip.cpp b/nlopt/plip.cpp index 8bce79ee1..e26b807a9 100644 --- a/nlopt/plip.cpp +++ b/nlopt/plip.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #include #include #include diff --git a/nlopt/plis.cpp b/nlopt/plis.cpp index 11d371f20..738325357 100644 --- a/nlopt/plis.cpp +++ b/nlopt/plis.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #include #include #include diff --git a/nlopt/pnet.cpp b/nlopt/pnet.cpp index d57461c1d..498dc68d7 100644 --- a/nlopt/pnet.cpp +++ b/nlopt/pnet.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #include #include #include diff --git a/nlopt/praxis.cpp b/nlopt/praxis.cpp index 2902b946b..e99a19457 100644 --- a/nlopt/praxis.cpp +++ b/nlopt/praxis.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* See README */ #include #include diff --git a/nlopt/praxis.h b/nlopt/praxis.h index 59ad0bd75..01816d14c 100644 --- a/nlopt/praxis.h +++ b/nlopt/praxis.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #ifndef PRAXIS_H #define PRAXIS_H diff --git a/nlopt/pssubs.cpp b/nlopt/pssubs.cpp index 6d0aa2e12..6c05f005f 100644 --- a/nlopt/pssubs.cpp +++ b/nlopt/pssubs.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #include #include #include "luksan.h" diff --git a/nlopt/qsort_r.cpp b/nlopt/qsort_r.cpp index 553df83bb..4cb910903 100644 --- a/nlopt/qsort_r.cpp +++ b/nlopt/qsort_r.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/redblack.cpp b/nlopt/redblack.cpp index ed9ea1127..6e75feb50 100644 --- a/nlopt/redblack.cpp +++ b/nlopt/redblack.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/redblack.h b/nlopt/redblack.h index 9bb8bd031..b2cc6fa01 100644 --- a/nlopt/redblack.h +++ b/nlopt/redblack.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/rescale.cpp b/nlopt/rescale.cpp index 58004e808..09cb68345 100644 --- a/nlopt/rescale.cpp +++ b/nlopt/rescale.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/sbplx.cpp b/nlopt/sbplx.cpp index 479303085..a569f173b 100644 --- a/nlopt/sbplx.cpp +++ b/nlopt/sbplx.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/slsqp.cpp b/nlopt/slsqp.cpp index 4245409b6..60c88cef3 100644 --- a/nlopt/slsqp.cpp +++ b/nlopt/slsqp.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* SLSQP: Sequentional Least Squares Programming (aka sequential quadratic programming SQP) method for nonlinearly constrained nonlinear optimization, by Dieter Kraft (1991). Fortran released under a free (BSD) license by ACM to the SciPy project and used there. diff --git a/nlopt/slsqp.h b/nlopt/slsqp.h index 44b7ab938..acf90beeb 100644 --- a/nlopt/slsqp.h +++ b/nlopt/slsqp.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #ifndef SLSQP_H #define SLSQP_H diff --git a/nlopt/soboldata.h b/nlopt/soboldata.h index 19efa5b0a..833eea878 100644 --- a/nlopt/soboldata.h +++ b/nlopt/soboldata.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/sobolseq.cpp b/nlopt/sobolseq.cpp index 2b72abd55..ac1d8802a 100644 --- a/nlopt/sobolseq.cpp +++ b/nlopt/sobolseq.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/stop.cpp b/nlopt/stop.cpp index b1f11ab78..09c516cab 100644 --- a/nlopt/stop.cpp +++ b/nlopt/stop.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ /* Copyright (c) 2007-2012 Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining diff --git a/nlopt/sys/time.cpp b/nlopt/sys/time.cpp index 17d991115..39eebb7eb 100644 --- a/nlopt/sys/time.cpp +++ b/nlopt/sys/time.cpp @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #include int gettimeofday(struct timeval* t,void*) diff --git a/nlopt/sys/time.h b/nlopt/sys/time.h index 8bfb4489f..6e8f44fc4 100644 --- a/nlopt/sys/time.h +++ b/nlopt/sys/time.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #pragma once #ifndef _TIMES_H diff --git a/nlopt/sys/times.h b/nlopt/sys/times.h index 5447fa65a..9653726b9 100644 --- a/nlopt/sys/times.h +++ b/nlopt/sys/times.h @@ -1,3 +1,14 @@ +/******************************************************************************************************************************************** + +Note +------------- +The version of nlopt included in this repository has been modified as follows: +1. The original .c files have been modified to .cpp files to facilitate the use of c++ std library functions for abs, fabs, sqrt, etc. +2. The nlopt specific file modifications can be found at https://github.com/NREL/ssc/commits/patch/nlopt + +The original version of nlopt can be found at https://github.com/stevengj/nlopt + +********************************************************************************************************************************************/ #ifndef _TIMES_H #define _TIMES_H