This Flutter application provides a solution to the Knapsack problem using the backtracking algorithm. The Knapsack problem is a combinatorial optimization problem, which involves selecting a subset of items with given weights and values to maximize the total value without exceeding a given weight limit.
- Input fields for item weights and values
- Dynamic addition and removal of items
- Calculates the maximum value that can be carried in the knapsack
- User-friendly interface with real-time calculations
- Flutter SDK: >=2.7.0 <3.0.0
- Dart SDK
The main dependencies used in this project are:
cupertino_icons: ^1.0.2
rxdart: ^0.26.0
scoped_model: ^1.1.0
-
Clone the repository:
git clone https://github.com/adnanAlKharfan/knapsack-application-solver-using-backtracking.git cd knapsack-application-solver-using-backtracking
-
Install dependencies:
flutter pub get
-
Run the application:
flutter run
Contributions are welcome! Feel free to open issues or submit pull requests.
For any inquiries or support, please contact Adnan AlKharfan.