Hey Sumanta,
It's correct to say that the
App Engine Standard Environment for python doesn't support modules based on C code. You could just go head and write the
non-linear CG algorithm in pure python and attempt to run it, but there are two things to keep in mind:
* It seems you
would have to write it. I searched a bit and couldn't find any pre-made code for this.
* scipy / numpy will be much faster.
I recommend you either offload these computation problems to a
Compute Engine instance (possibly of g1-small or f1-micro
machine type, although you could check out the other machine types according to your needs)
You could also deploy an
App Engine Flexible Environment app where the
Dockerfile uses
pip to install your
requirements.txt, containing the dependencies, so that when the app is deployed, you have numpy and scipy.
You can also find
sample apps which install numpy and scipy in our github "
python-docs-samples" repo (they're under "scipy" and "numpy").
Cheers,
Nick
Cloud Platform Community Support