Call your power company. I don't live in a developing country but I am sure you could get something worked out with them if you called. It doesn't hurt to try.
Lol, it's probably a state wide power outages, calling them will not be a big help. In the last 90's we also have this kind of power outrages, our gov't really do it's best that time and I'm glad that we don't experience this kind of power outages anymore.
I don't know about the situation in your place @egendster, do you have like big malls which has power generator? I'm thinking that if there's some kind of internet cafe inside that mall and maybe you can rent it out just to finished your project? Of course you have to pay like per hour, depending on the rate, but at least it can alleviate your problems specially if you have deadlines to finished.