Skip to content

Use CLARABEL solver for rocket landing optimization#1209

Open
AtsushiSakai wants to merge 1 commit into
masterfrom
CLARABEL_issue
Open

Use CLARABEL solver for rocket landing optimization#1209
AtsushiSakai wants to merge 1 commit into
masterfrom
CLARABEL_issue

Conversation

@AtsushiSakai
Copy link
Copy Markdown
Owner

@AtsushiSakai AtsushiSakai commented May 1, 2025

Switched the solver from ECOS to CLARABEL in the optimization process of the rocket-powered landing module.

Ref
#1207
oxfordcontrol/Clarabel.rs#172

Reference issue

What does this implement/fix?

Additional information

CheckList

  • Did you add an unittest for your new example or defect fix?
  • Did you add documents for your new example?
  • All CIs are green? (You can check it after submitting)

Switched the solver from ECOS to CLARABEL in the optimization process of the rocket-powered landing module. This change is expected to improve performance and compatibility with specific problem constraints.
@AtsushiSakai AtsushiSakai linked an issue May 2, 2025 that may be closed by this pull request
Copy link
Copy Markdown

@swankyjago888-sudo swankyjago888-sudo left a comment

Choose a reason for hiding this comment

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

AerialNavigation/rocket_powered_landing/rocket_powered_landing.py

@@ -32,7 +32,7 @@
W_NU = 1e5 # virtual control

print(cvxpy.installed_solvers())
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

How please

@@ -32,7 +32,7 @@
W_NU = 1e5 # virtual control

print(cvxpy.installed_solvers())
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

AerialNavigation/rocket_powered_landing/rocket_powered_landing.py

max_angle = 90
glidelslope_angle = 20

self.tan_delta_max = np.tan(np.deg2rad(max_gimbal))
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

AerialNavigation/rocket_powered_landing/rocket_powered_landing.py

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

AerialNavigation/rocket_powered_landing/rocket_powered_landing.py

self.t_f_guess = 10.0 # 10 s

# State constraints
self.r_I_final = np.array((0., 0., 0.))
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

AerialNavigation/rocket_powered_landing/rocket_powered_landing.py

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.

Using Clarabel solver for rocket powered landing

2 participants