Skip to content

Commit

Permalink
Readme and header for each file updates per feedback on #1192
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Jul 30, 2024
1 parent c05df57 commit 76d6c00
Show file tree
Hide file tree
Showing 128 changed files with 1,441 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lpsolve/colamd.cpp
Original file line number Diff line number Diff line change
@@ -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 ============ */
/* ========================================================================== */
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/colamd.h
Original file line number Diff line number Diff line change
@@ -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 ============================= */
/* ========================================================================== */
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/commonlib.cpp
Original file line number Diff line number Diff line change
@@ -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 <sys/types.h>

Expand Down
11 changes: 11 additions & 0 deletions lpsolve/commonlib.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
11 changes: 11 additions & 0 deletions lpsolve/fortify.cpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/ini.cpp
Original file line number Diff line number Diff line change
@@ -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 <stdio.h>
#include <ctype.h>
#include <string.h>
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/ini.h
Original file line number Diff line number Diff line change
@@ -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 <stdio.h>

#ifdef __cplusplus
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_BFP.h
Original file line number Diff line number Diff line change
@@ -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 */
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_BFP1.cpp
Original file line number Diff line number Diff line change
@@ -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 */
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_BFP2.cpp
Original file line number Diff line number Diff line change
@@ -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 */
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_Hash.cpp
Original file line number Diff line number Diff line change
@@ -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 <stdlib.h>
#include <string.h>
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_Hash.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_LUSOL.cpp
Original file line number Diff line number Diff line change
@@ -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+
----------------------------------------------------------------------------------
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_LUSOL.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_MDO.cpp
Original file line number Diff line number Diff line change
@@ -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+
----------------------------------------------------------------------------------
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_MDO.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_MPS.cpp
Original file line number Diff line number Diff line change
@@ -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 <cmath>
#include <string.h>
#include <stdarg.h>
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_MPS.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_SOS.cpp
Original file line number Diff line number Diff line change
@@ -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 <string.h>
#include <cmath>
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_SOS.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_bit.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_crash.cpp
Original file line number Diff line number Diff line change
@@ -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/
********************************************************************************************************************************************/

/*
----------------------------------------------------------------------------------
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_crash.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
11 changes: 11 additions & 0 deletions lpsolve/lp_lib.cpp
Original file line number Diff line number Diff line change
@@ -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+
Expand Down
Loading

0 comments on commit 76d6c00

Please sign in to comment.