Opened 9 years ago

Closed 6 years ago

#1346 closed task (fixed)

free start/final-time in XML

Reported by: Christian Andersson Owned by: Christian Andersson
Priority: major Milestone:
Component: CodeGen/FMUX Version: trunk
Keywords: Cc:


When generating XML equations of an optimization problem where the finaltime (or starttime) is set to free, a binding equation for finaltime is generated to 1.0. Basically resulting in a normalization to [0, 1]. A side effect of this is that CasADi interprets, in this case, the finaltime to be fixed an replaces all occurences of finalTime to 1.0. If the cost function is dependent on the finaltime, it is converted to a constant, which is not very useful.

We need to consider how we want to handle a free finalTime or free startTime in the XML equations. And also how point constraints should be handle in the case of free start/final-time.

Change History (4)

comment:1 Changed 8 years ago by jakesson

Milestone: 1.6.x

comment:2 Changed 6 years ago by Tove Bergdahl

Owner: set to Christian Andersson
Status: newassigned

Needs to be verified that this ticket is still valid.

comment:3 in reply to:  2 Changed 6 years ago by Fredrik Magnusson

Replying to tove:

Needs to be verified that this ticket is still valid.

I am pretty sure it isn't, but let's wait for chria's opinion.

comment:4 Changed 6 years ago by Christian Andersson

Resolution: fixed
Status: assignedclosed

I agree with Fredrik. Closing the ticket.

Note: See TracTickets for help on using tickets.