Is it possible with Timefold to unschedule one or more variables. For example for vehicle routing I want to set up a start date and an end date and if an intervention is scheduled after the end date then it will be unscheduled in my solution, i.e. it will not will be associated with no vehicle and will have no lap time.
In my opinion, you are looking for over-constrained planning. It allows you to specify that assigning a value is optional. So, the solver may leave some "interventions" unassigned.
There are some caveats, though:
Generally, I'd suggest you let the solver assign anything it can, even outside of the planning window. See continuous planning.