Class OptimalUtilization

java.lang.Object
org.drip.sample.algo.OptimalUtilization

public class OptimalUtilization
extends java.lang.Object
OptimalUtilization finds all elements from each of two arrays such that the sum of their values is less or equal to target and as close to target as possible.



Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    OptimalUtilization()  
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] argumentArray)
    Entry Point

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OptimalUtilization

      public OptimalUtilization()
  • Method Details

    • main

      public static void main​(java.lang.String[] argumentArray) throws java.lang.Exception
      Entry Point
      Parameters:
      argumentArray - Command Line Argument Array
      Throws:
      java.lang.Exception - Thrown on Error/Exception Situation