added code to get fractional ad3 solutions

added code to get fractional ad3 solutions