Skip to content

Conversation

@dohunnim
Copy link
Collaborator

(This pull request is identical to #15 but resubmitted after renaming the branch)
This pull request made following changes: \

  • added LogBarrierCost and LogBarrierCostTransformer
  • Fixed goal getter/setter syntax
  • Minor bug fixes
  • Reverted ILQR back to the version in commit, added a timeout, and fixed multistep clipping
  • Fixed Tunable.fix_hyperparameters such that the hyperparameter is a ConfigSpace.Constant
  • Fixed ParallelEvaluator and made it default
  • Changed cs_utils.set_hyper_bounds such that the default value and log can also be changed (maybe redundant with set_hyperparameter_logs and set_hyperparameter_default
  • Minor bug fixes

ttchalakov and others added 30 commits June 20, 2022 23:41
ConfigSpace doesn't allow lower bound and upper bound to be equal. Fixed hyperparameters are replaced as CSH.Constant object
Can't set lower and upper bound of hyperparam to be the same value. Using constant hyperparam instead
return np.copy(self.properties['goal'])

@goal.setter
def goal(self, goal):
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To use @goal.setter property decorator , the function name must be the same as the attribute's name. To be consistent with the coding style of other files, I kept the original Java-style setter function in lines 195-197

RRt = (self._R + self._R)
return obst.T @ self._Q @ obst + control.T @ self._R @control, QQt @ obst, RRt @ control, QQt, None, RRt
hess_obs_ctrl = np.zeros((self.system.obs_dim, self.system.ctrl_dim))
return obst.T @ self._Q @ obst + control.T @ self._R @control, QQt @ obst, RRt @ control, QQt, hess_obs_ctrl, RRt
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Returning None will create issues

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