Brachistochrone with limited reaction of constraint in an arbitrary force field