This project is a simulation program for an online inventory management model
-
To switch to the path of the file, you can use the
cdcommand in the terminal. For example, if the download path of the file is~/desktop/online_inventory, you can run the commandcd ~/desktop/online_inventoryin the terminal to switch to that directory. -
If you’re using a PC, you can create a virtual environment named
env_onlineand install the required dependencies using the commandconda create –name env_online –file requirements/requirements.txt. However, if you’re using a Mac with an M1 processor, you’ll need to run the commandconda create –name env_online –file requirements/requirements_m1_mac.txtinstead. -
Once the virtual environment is created, you can activate it using the command
conda activate env_online. -
Finally, you can run the
main.pyfile using the commandpython main.pywhile the virtual environment is activated. -
If you don’t have Conda installed on your computer, you can refer to the instructions on how to intsall Miniforge.
-
If you prefer not to download and install any development environment on your computer, there is an alternative option available. You can access the main.ipynb file, which will allow you to view and edit the file without the need for additional package.
-
To run the program, please click on the
Open In Colabbutton. This will enable you to access and execute the code. -
Due to the small size of the model, utilizing a GPU will result in slower processing compared to using only a CPU. However, it should be noted that Colab's CPU performance is relatively low, resulting in slow program execution.
