Mandatory residency

I have to travel for grad school across country for a one week training. Purpose of the education has nothing to do with travel. It's mandatory in person training. Is flight and hotel deductible?  

 

I've seen answers saying no and answers saying yes. And each source contradicts the other. 

 

If not, since I can use this training for work and work will not reimburse, could I write part of it for work training?