** LICENSE for the MPMAS/mpmasql Software Package (Demo version) **

The MPMAS developers grant you permission to use the MPMAS Software (Demo version) for personal, academic and non-commercial purposes. 
Within this scope, you may also, to a reasonable extent, reproduce or copy the software, provided this license agreement is included. 
All other rights, in particular the right to distribute, translate, modify, re-arrange, publicly broadcast the Software, or run it as 
a public service remain with the MPMAS developers.

You may not decompile or disassemble the software, extract any parts of the software, carry out reverse engineering or otherwise attempt 
to derive the undisclosed part of the source code of the software. This does not apply to the open source code used (see note below) and 
the portions of MPMAS/mpmasql that are provided as open source scripts.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This demo version of the software is restricted to models with at maximum 50 agents and does not provide all modeling features of the full version.

You may contact the MPMAS developers to obtain a full version of MPMAS. Note however that the MPMAS developer team can only provide limited support 
and assistance in developing models in MPMAS. As the above no warranty statement underlines, they may not even be able to supply quick response in 
case of software errors. As a pre-condition for providing the full version, MPMAS developers will, hence, expect you to demonstrate sufficient 
independence in using MPMAS before granting access to the full version of MPMAS. This typically means that you need to show that you are able to set 
up a first, individual working model application (different from the tutorial models provided) with this demo version and the documentation provided 
on the mp-mas.uni-hohenheim.de website.

Alternatively, the Land Use Economics group at the University of Hohenheim offers MSc level courses to obtain the basic knowledge needed. Special 
introductory courses can be organized on request (please contact: mas@uni-hohenheim.de)

If you use MPMAS for work leading to publications, you are expected to refer readers to the mp-mas.uni-hohenheim.de website and cite at least one 
of the following relevant articles:

- for MPMAS version 4:  Mössinger, J., Troost, C., Berger, T., 2022. Bridging the gap between models and users: A lightweight mobile interface 
for optimized farming decisions in interactive modeling sessions. Agricultural Systems 195, 103315. doi.org/10.1016/j.agsy.2021.103315

- for MPMAS version 3: Troost, C., Berger, T., 2016.  Advances in probabilistic and parallel agent‐based simulation: Modelling climate change 
adaptation in agriculture. In: Sauvage, S., Sánchez-Pérez, J.M., Rizzoli, A.E. (Eds.), 2016. Proceedings of the 8th International Congress on 
Environmental Modelling and Software, July 10-14, Toulouse, FRANCE. (https://scholarsarchive.byu.edu/cgi/viewcontent.cgi?article=1352&context=iemssconference)

- for MPMAS version 2: Schreinemachers, P., Berger, T., 2011. An agent-based simulation model of human environment interactions in agricultural systems. 
Environmental Modelling & Software 26, 845-859. doi.org/10.1016/j.envsoft.2011.02.004

- for MPMAS version 1: Berger, T., 2001. Agent-Based Spatial Models applied to Agriculture: a Simulation Tool for Technology Diffusion, 
Resource Use Changes and Policy Analysis. Agricultural Economics 25, 245-260. doi.org/10.1016/S0169-5150(01)00082-2


**Software distributed along with MPMAS**

The MPMAS core executable includes the COIN-OR Open Solver Interface, the COIN-OR CBC Solver, the COIN-OR Symphony Solver and their 
COIN-OR dependencies. All these software libraries are licensed under the EPL 2.0 license (https://www.eclipse.org/legal/epl-2.0/). 
The source code is available at https://github.com/coin-or/.

The MPMAS core executable includes an implementation of the RngStream random number generator by Pierre L'Ecuyer (2001). 
The RngStream code can be used freely for personal, academic, or non-commercial purposes. 
For commercial purposes, please contact P. L'Ecuyer at: lecuyer@iro.umontreal.ca. 
The source code is available at https://www.iro.umontreal.ca/~lecuyer/myftp/streams00/c++/RngStream.cpp.

If you explicitly use the RngStream Generator with MPMAS for random number generation for work leading to publications, 
please cite the following relevant articles in which MRG32k3a and the package with multiple streams were proposed:

L'Ecuyer, P., 1999. Good Parameter Sets for Combined Multiple Recursive Random Number Generators. Operations Research, 47, 159-164.

L'Ecuyer, P., Simard, R., Chen, E. J., Kelton, W. D., 2002. An Objected-Oriented Random-Number Package with Many Long Streams and Substreams, Operations Research, 50, 1073-1075

as well as the article explaining its use within MPMAS:

Troost, C., Berger, T., 2016. Advances in probabilistic and parallel agent‐based simulation: Modelling climate change adaptation 
in agriculture. In: Sauvage, S., Sánchez-Pérez, J.M., Rizzoli, A.E. (Eds.), 2016. Proceedings of the 8th International Congress 
on Environmental Modelling and Software, July 10-14, Toulouse, FRANCE. (https://scholarsarchive.byu.edu/cgi/viewcontent.cgi?article=1352&context=iemssconference)
