Forio report on mathematical models

Hi everybody
If possible, I would like to see an example of a forio report on mathematical models.
In fact, I would like to know how Forio helps validate the mathematical linear model…
best…
Milad

Hi Milad,

Forio allow you to build a web interface on top of any mathematical model. Models can be developed using Microsoft Excel, Vensim, Python and more.

If you are working with linear regression models, Python is a good tool for this. You can create your Python model using SciPy and upload it Forio. You may then build a web interface using the “Calculator” template in the interface builder (a template for a one page analytics tool). You can also build a custom set of web pages using our library Flow Js.

For more information, see
https://forio.com/epicenter/docs/public/model_code/python/

https://forio.com/epicenter/docs/public/quickstart/

or
Video: How to create a one page simulation in Forio Epicenter

WILL

1 Like

Thanks
In fact, we are working on a “linear optimization model” with a large number of variables and parameters. Can “forio” capabilities be used for such a case?

Hi Milad,

Forio is a platform for publishing models. Forio lets you take an optimization and share it with others and the modeling happens outside of the Forio platform.

If you are building an optimization, you would use a solver like CPLEX, Gurobi or others along with Python or Julia.

These links will help you get started:
https://www.juliaopt.org/
https://developers.google.com/optimization/introduction/python

Best, Michael

Dear Will.

You mentioned Python multiple times in your response but, as a newcomer, it has proven pretty hard to find even a minimal working example written in Python and used with Epicenter. Any chance you have a reference?

You can find details of how to load a Python model into Epicenter here:
https://forio.com/epicenter/docs/public/model_code/python/

All global variables and functions in your Python file can be accessed in the HTML page. As mentioned in a different topic, Flow JS is a good place to get started.
https://forio.com/epicenter/docs/public/data_binding_flow_js/

1 Like