DCOPFJ is a free open source "Java solver for bid/offer-based DC optimal power flow (DC-OPF) problems suitable for research, teaching, and training applications. The DCOPFJ package consists of two linked parts: an internal solver QuadProgJ for strictly convex quadratic programming problems, and an outer shell that automates input data preprocessing and output data display".

Reference: DCOPFJ