Home Forums Null Value when using PenaltyMethod

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1854
    hessinemaaoui
    Keymaster

    Hi,

    I have implemented the following code excerpt:

    ….
    PenaltyMethod optim = new PenaltyMethod(ConstrainedProblem, sp, 1e30, 1e-15, ConjugateGradient.class);
    ….
    Vector xmin = new DenseVector(inputarray);
    ….
    xmin = optim.search(1000, xmin);
    …..

    for some optimization problems it works fine, for some I get “Null” back for xmin. What’s the issue for the “Null”-cases?

    Appreciate any clues!

    Thanks & Rgds
    Roger

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.