Skip to content

Commit

Permalink
Updating linear_mpsc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico-PizarroBejarano committed Oct 9, 2024
1 parent 346f536 commit 868e425
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion safe_control_gym/safety_filters/mpsc/linear_mpsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,11 @@ def tighten_state_and_input_constraints(self):
self.tightened_state_constraint = tightened_state_constraint_func(env=self.env,
constrained_variable=ConstrainedVariableType.STATE)

def setup_optimizer(self):
def setup_acados_optimizer(self):
'''Setup the certifying MPC problem.'''
raise NotImplementedError

def setup_casadi_optimizer(self):
'''Setup the certifying MPC problem.'''

# Horizon parameter.
Expand Down

0 comments on commit 868e425

Please sign in to comment.