Skip to content
Discussion options

You must be logged in to vote

Hi there! Welcome to the InfiniteOpt discussion forum!

Minimum time problems can be reformulated into a standard optimal control problem. A nice video tutorial is given here in the context of an optimal rocket launch problem where we want to minimize the final time for the rocket to arrive.

The key reformulation trick is to scale the total time by the final time with τ = t / tf and let tf be a finite variable.

The script below implements the same rocket example in InfiniteOpt:

using InfiniteOpt, Ipopt, Plots

# Define the model
model = InfiniteModel(Ipopt.Optimizer)

# Setup up the normalized time parameter τ = t / tf
@infinite_parameter(model, τ in [0, 1], num_supports = 101)

# Create t…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@pulsipher
Comment options

@dynaTenCo
Comment options

@pulsipher
Comment options

@pulsipher
Comment options

@dynaTenCo
Comment options

Answer selected by dynaTenCo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants