Initializing help system before first use

Inputting and solving a Linear Programming problem

In this chapter we take the example formulated in Chapter 2 and show how to implement the model with the FICO® Xpress Java API. With some extensions to the initial formulation we also introduce input and output functionalities of the Java interface:

  • writing an LP model with Java,
  • data input from file,
  • output facilities of the Java interface,
  • exporting a problem to a matrix file.

Chapter 3 shows how to formulate and solve the same example with Mosel, and in Chapter 15 the problem is input and solved directly using the low-level C API of FICO® Xpress Optimizer.


© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.