Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Profile matching: create a firebase function #1291

Open
viktor-yunenko opened this issue Aug 6, 2021 · 1 comment
Open

Profile matching: create a firebase function #1291

viktor-yunenko opened this issue Aug 6, 2021 · 1 comment

Comments

@viktor-yunenko
Copy link
Member

mixed integer solver on a gcloud function

  • eg python pickled 1GB object, but might be compressed
  • from mip_cvxpy import PYTHON_MIP
  • import cvxpy
  • def cloud_func(problem, options):
    • solver = PYTHON_MIP()
    • problem.solve(solver=solver, verbose=True, gp=False, **options)
    • return (problem, stdout_content, stderr_content)
    • “options” here is a dictionary
@viktor-yunenko viktor-yunenko self-assigned this Aug 6, 2021
@sebgrebe
Copy link
Collaborator

sebgrebe commented Aug 9, 2021

One question out of curiosity: Any particular reason we're going with Google Cloud here? If we have an idea which cloud provider we want to use long-term, it would be good to use that one for this function (to reduce number of accounts). E.g., if we want to go with AWS, we could use lambdas for this instead.

@viktor-yunenko viktor-yunenko removed their assignment Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants