Maximize refers to the process of increasing a certain value to its fullest, biggest, or greatest (max).
Questions tagged [maximize]
396 questions
3
votes
1 answer
Getting solution as nan for mixed integer non linear programming problem with objective function as a fraction
I wanted to maximize gross profit margin (total profit/total revenue) with binary variables, say whether products will be in the mix or not by that variables will be 1 or 0 (binary), trying to solve with gekko mixed integer non linear…

soumyajt
- 35
- 3
3
votes
1 answer
Maximization of quadratic forms in R with respect to a vector of weights
I have a distance (similarity) matrix D, for example,
D <- matrix(c(0.00, 1.00, 1.00, 0.10, 0.05, 1.00, 0.00, 1.00, 1.00, 1.00, 1.00, 1.00, 0.00, 0.90, 0.95, 0.10, 1.00, 0.90, 0.00, 0.15, 0.05, 1.00, 0.95, 0.15, 0.00),5,5)
and a vector of weights…

Rodrigo Guinea
- 328
- 4
- 16
3
votes
1 answer
Find the maximum of the function in R
I have the following function.
Let F(.) is the cumulative distribution function of the gamma distribution with shape = 1 and rate =1. The denominator is the survival function S(X) = 1 - F(X). The g(x) is the mean residual life function.
I wrote…

score324
- 687
- 10
- 18
3
votes
1 answer
Minimizing and maximizing the loss
I would like to train an autoencoder in such a way that the reconstruction error will be low on some observations, and high on the others.
from keras.model import Sequential
from keras.layers import Dense
import keras.backend as K
def…

ian
- 399
- 2
- 15
3
votes
2 answers
Maximize WPF window on 2 monitor
Like title I want my WPF to maximize on 2 monitors (now my pc have 2 monitors).
I set
this.Width = System.Windows.Forms.Screen.AllScreens[0].Bounds.Width + System.Windows.Forms.Screen.AllScreens[1].Bounds.Width
but it not full, have spaced like…

Pham Luan
- 553
- 4
- 12
3
votes
2 answers
Xlib: Create window in mimized or maximized state
Is it possible to create a Window in maximized or minimized state with Xlib? If so, how would I go about doing that?

Overv
- 8,433
- 2
- 40
- 70
3
votes
2 answers
Adobe AIR app fit screen(maximize) by itself
Is there a way to make an Adobe AIR app
fit screen(maximize) by itself when it's
launched?

simplfuzz
- 12,479
- 24
- 84
- 137
3
votes
3 answers
NSWindow maximized?
does anybody know a correct solution for this code?
BOOL maximized = [myWindow isMaximized];

Andreas Prang
- 2,187
- 4
- 22
- 33
3
votes
0 answers
MahApps Window maximizing doesn't work when AllowsTransparency set to true
I have experienced a bit a weird behavior of the MahApps Window when I set the AllowsTransparency to true. What I am doing is to set the Opacity of the whole window to 0.4 when the mouse leaves the window. When the mouse returns to the window area,…

Ramon
- 63
- 6
3
votes
2 answers
Maximized Window Restores to Full Screen
Using CWnd::ShowWindow(SW_SHOWMAXIMIZED) maximizes my app window as expected.
However, when clicking the restore button on the app (or double clicking the title-bar), the restored size is the same size as the maximized window, which is confusing for…

Adi Shavit
- 16,743
- 5
- 67
- 137
3
votes
2 answers
Maximize Form from differient form C#
Does anyone know how to maximize a form from another form, in c#?
I tried the code below but it won't work:
Form1 form1 = new Form1();
form1.WindowState = FormWindowState.Maximized;
Any ideas?

Shane121
- 423
- 1
- 7
- 17
3
votes
1 answer
Optimization in R: Maximizing and Minimizing Many Variables
I have a dataset with 70 foods and information about each food's nutritional value (protein/oz., fat/oz., cals/oz., etc.), as well as the food's cost/oz. I am trying to figure out--given a set budget in $--what the best combination of foods (and the…

eleh915
- 65
- 1
- 6
3
votes
1 answer
R Team Roster Optimization w/ lpSolve
I am new to R and have a particular fantasy sports team optimization problem I would like to solve. I have seen other posts use lpSolve for similar problems but I can not seem to wrap my head around the code. Example data table below. Every player…

altaylor1123
- 43
- 3
3
votes
4 answers
VB.net Borderless Form Maximize over Taskbar
When I maximize my borderless form, the form covers the entire screen including the taskbar, which I don't want it to do. I'm finding it very difficult to find a solution to my problem on the net, all I've come up with is the below code, which…

Jarron
- 1,049
- 2
- 13
- 29
3
votes
1 answer
Is it possible to hide/delete maximize button in wxWidgets C++?
I'm writing app in wxWidgets C++ version (using linux but I want to cross-compile to win) for my friend who plays RPG games.Quite simple app - 8 buttons imitating dices with diffrent sizes, and one static text showing the result of the randomizing.…

Tomasz Hamerla
- 63
- 1
- 9