/decision_making_criterion

A C++ implementation of decision-making criterion for profit matrices, including Minimax, Savage, and Hurwicz methods.

Primary LanguageC++MIT LicenseMIT

Decision Making Criterion

A C++ implementation of decision-making criterion based on profit matrices.

This project includes methods for evaluating decisions using the Minimax, Savage, and Hurwicz criterion.

Table of Contents

Introduction

This project aims to provide a clear and efficient way to evaluate different decision-making strategies based on given profit matrices.

The implemented criterion help in determining optimal solutions in scenarios with uncertain outcomes.

Criterion

  1. Minimax (MM): Finds the maximum of the minimum profits, representing the best worst-case scenario.
  2. Savage (S): Adjusts profits by subtracting the maximum value of each column, then finds the minimum of the maximum adjusted profits.
  3. Hurwicz (HW): Computes a weighted average of the minimum and maximum outcomes based on a specified coefficient.

Installation

To build and run this project, you need a C++ compiler that supports C++23.

You can clone the repository and compile it using the following commands:

git clone https://github.com/seigtm/decision_making_criterion.git
cd ./decision_making_criterion
# Compile the code (adjust command based on your setup)
clang++ ./decision_criterion.cpp -o ./decision_criterion.o -std=c++23

Usage

After compiling, you can run the executable:

./decision_criterion.o

The program will output the results for each decision-making criterion based on the predefined profit matrix.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Feel free to modify the content to fit your specific needs and preferences!