Skip to content

Integration of FEniCS with this optimization #34

Discussion options

You must be logged in to vote

Additionally, we can implement an alternative version using a small wrapper solver around your existing function. This will also be helpful for other users. If you wish, we can quickly get this variant working for you to try.

We got a quick version of this feature in the branch script_solver. To test it, we used the following files:

  • config.yaml:
iters: 10

optimiser: botorch

parameters:
  a: [0, -4, 4]
  b: [0, -4, 4]
  c: [0, -4, 4]

objective:
  name: design
  solver:
    name: script
    cases:
      'case_1':
        script: test.py
        class: TestScript
  targets:
    'minimum_value':
      quantity: max
      prediction: ['case_1']
      negate: False
    'maximum_area':
  …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ruicoelhopedro
Comment options

Answer selected by SMzubairshah
Comment options

You must be logged in to vote
1 reply
@SMzubairshah
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants