-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add two parsers #67
Conversation
There was a problem hiding this 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...
pytao/interface_commands.py
Outdated
@@ -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): |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
.
This adds special parsers for:
Tao.merit
Tao.ele_control_var