We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This has been requested a few times. See
libprima/PRIMA.jl#4 #95 #181
Currently, the MATLAB and Julia interfaces do scale the problem if requested and if possible:
prima/matlab/interfaces/private/preprima.m
Line 297 in 67b6084
Maybe we can add two optional arguments scaling_factor and shift, to perform the scaling
scaling_factor
shift
x_before_scaling = scaling_factor*x_after_scaling + shift
or, equivalently,
x_after_scaling = (x_before_scaling - shift) / scaling_factor
In the high-level interfaces, there should be an option scale taking three possible values
scale
where "auto" means that the scaling factor will be decided automatically according to the given problem. Not that it is nontrivial to decide a suitable scaling factor.
Similarly, there should be an option shift taking three possible values
where "auto" means that the shift will be decided automatically according to the given problem (e.g., shift = x0).
shift = x0
The text was updated successfully, but these errors were encountered:
cobyla
bobyqa
No branches or pull requests
This has been requested a few times. See
libprima/PRIMA.jl#4
#95
#181
Currently, the MATLAB and Julia interfaces do scale the problem if requested and if possible:
prima/matlab/interfaces/private/preprima.m
Line 297 in 67b6084
https://github.com/libprima/PRIMA.jl/blob/2714339cfecf6b895e7b1ef5f278f1c105c4be1a/src/PRIMA.jl#L120
Maybe we can add two optional arguments
scaling_factor
andshift
, to perform the scalingor, equivalently,
In the high-level interfaces, there should be an option
scale
taking three possible valueswhere "auto" means that the scaling factor will be decided automatically according to the given problem. Not that it is nontrivial to decide a suitable scaling factor.
Similarly, there should be an option
shift
taking three possible valueswhere "auto" means that the shift will be decided automatically according to the given problem (e.g.,
shift = x0
).The text was updated successfully, but these errors were encountered: