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

Add two parsers #67

Merged
merged 2 commits into from
Jul 1, 2023
Merged

Add two parsers #67

merged 2 commits into from
Jul 1, 2023

Conversation

ChristopherMayes
Copy link
Contributor

This adds special parsers for:

  • Tao.merit
  • Tao.ele_control_var

Copy link
Collaborator

@hhslepicka hhslepicka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some weird commands on the optimization side. If they are correct, merge away...

@@ -2380,6 +2380,63 @@ def tao_global(tao, *, verbose=False, as_dict=True, raises=True):
return __execute(tao, cmd, as_dict, raises, method_name='tao_global', cmd_type='string_list')


def global_optimation(tao, *, verbose=False, as_dict=True, raises=True):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the method name correct? Maybe global_optimization?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this is a new command:

tao.global_optimation()
{'CR': 0.800000011920929,
 'F': 0.800000011920929,
 'l_best': 0.0,
 'binomial_cross': False,
 'use_2nd_diff': False,
 'randomize_F': False,
 'minimize_merit': True}

return __execute(tao, cmd, as_dict, raises, method_name='global_optimation', cmd_type='string_list')


def global_opti_de(tao, *, verbose=False, as_dict=True, raises=True):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the same as above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, that's giving the same as above.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I found it. There were typos in tao/tao_python_cmd.f90.

@ChristopherMayes ChristopherMayes merged commit 8ca6dae into master Jul 1, 2023
2 checks passed
@ChristopherMayes ChristopherMayes deleted the add_parsers2 branch February 6, 2024 22:36
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

Successfully merging this pull request may close these issues.

2 participants