Skip to content

Questions #1

@GYskyfall

Description

@GYskyfall

Question1

#Question about **linearized lower thrust constraint**
        lhs = [U_last_p[:, k] / (cvx.norm(U_last_p[:, k])) * U_v[:, k] for k in range(K)]
        constraints += [
            self.T_min - cvx.vstack(lhs) <= self.s_prime
        ]

constraints in rocket_landing_3d.py
the U_last_p[:, k] and U_v[:, k] are numpy array ,just use * ,the outcome still is numpy array,
however self.T_min is scalar , Why is there no error when a scalar minus array?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions