Skip to content

Printing full_output fails #17

@mzagorowska

Description

@mzagorowska

This works:

obj(x) = x'*[2 1;1 4]*x + x'*[1;4] + 7;
p = DSProblem(2; objective=obj, initial_point=[1.0,2.0]);
SetGranularity(p, Dict( 1 => 0.1, 2 => 0.2 ))
Optimize!(p)

I want to see how the optimization is going by adding full_output. This doesn't work:

obj(x) = x'*[2 1;1 4]*x + x'*[1;4] + 7;
p = DSProblem(2; objective=obj, initial_point=[1.0,2.0],full_output=true);
SetGranularity(p, Dict( 1 => 0.1, 2 => 0.2 ))
Optimize!(p)

I get:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions