Write an Application in angular which runs at clients site and data is synced to a platform as a service such as firebase etc.
The core function of the app is based on a algorithim - python script of the same is attached.
The user inputs a value.. the app then based on optimisation logic computes values of various variables.
The value of these variables can then in turn be altered by the user by slider interface .
Address me as captain so that i know you read this :)
On change of value the opmtisiation logic recomputes the new set of all variables.
The changes made by the user have to be synced back to firebase etc.