Skip to content

This repository includes codes related to a paper named "An approximate dynamic programming approach for sequential pig marketing decisions at herd level". The codes have been written in C++ programming lanuage envirenment and are compiled using MS VS2010 compiler.

pourmoayed/adpProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adpProject

This repository includes codes related to a paper named "An approximate dynamic programming approach for sequential pig marketing decisions at herd level".

The codes have been written in C++ programming lanuage envirenment and are compiled using MS VS2010 compiler.

The compiler needs to the following external libraries:

Notes:

1- Only the main files (e.g. *.h and *.cpp ) have been commited in the repository. This has been done based on the standard format of gitignore for visual studio (see https://github.com/github/gitignore/blob/master/VisualStudio.gitignore).

2- You need to copy folder "csv_fils" in a directory in your own pc. Next, you need to specify the address of this directory in functions "readIniSlopes()", "readFinalSlopes()", "storeSlopes()" used in the file adpProject/adp.cpp . A same procedure should be done in the main file adpProject/adp.cpp for the csv file csv_fils/policyInfo.csv .

3- Results of numerical experiments in the paper have been reported as csv files in folder "paper_results".

About

This repository includes codes related to a paper named "An approximate dynamic programming approach for sequential pig marketing decisions at herd level". The codes have been written in C++ programming lanuage envirenment and are compiled using MS VS2010 compiler.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published