Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Objective function defined within main #14

Open
tomflint22 opened this issue Mar 28, 2023 · 1 comment
Open

Objective function defined within main #14

tomflint22 opened this issue Mar 28, 2023 · 1 comment

Comments

@tomflint22
Copy link

Hi,

I was wondering if it's possible to define the objective function within the main() function. I've been trying to do this with lambda functions, but I haven't had any luck.

The reason I want to do this is because I'm trying to incorporate GALGO into a larger OpenFoam code, where for a variety of reasons, I can only really access certain things from within my main() function.

I'd really appreciate any help anyone could offer.

All the best,

Tom

@tomflint22
Copy link
Author

Hi,

If anyone could point me in the right direction with this I'd be most appreciative

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant