edu.harvard.econcs.jopt.example
Class ExampleSimple

java.lang.Object
  extended by edu.harvard.econcs.jopt.example.ExampleSimple

public class ExampleSimple
extends java.lang.Object

A simple example of how to use JOpt

Version:
$Revision: 1.7 $ on $Date: 2005/10/17 18:49:45 $

Constructor Summary
ExampleSimple(java.lang.String serverMachine, int serverPort)
          MAX 2X + 2Y subject to X - 2Y <= 5 Y = 2
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleSimple

public ExampleSimple(java.lang.String serverMachine,
                     int serverPort)
MAX 2X + 2Y subject to X - 2Y <= 5 Y = 2

Parameters:
serverMachine - the friendly-name or IP address of the server machine
serverPort - the port on the server where JOpt-server is listening
Method Detail

main

public static void main(java.lang.String[] args)