1.
to judge sth by comparing good or positive qualities with bad or negative ones :
Set against the benefits of the new technology, there is also a strong possibility that jobs will be lost.
2.
( finance ) to record sth as a business cost as a way of reducing the amount of tax you must pay :
to set capital costs off against tax