Is the example a complete sentence, sentence fragment, or run-on sentence?

To figure out in how many days the new library will open.

A.
sentence fragment

B.
complete sentence

C.
run-on sentence