Venezuela has freed 11 Colombian soldiers who had been detained after entering Venezuelan territory without authorization .