39,965 questions
0
votes
0
answers
25
views
DerivativesWarning:Design variables have no impact on the constraints or objective. Positive directional derivative for linesearch
Good afternoon!
I'm new to OpenMDAO and optimization.
I'm trying to set up a problem with mesh geometry parameterization for a structural (FEM) optimization task. I'm using TACS https://github.com/...
1
vote
1
answer
53
views
Hard reset gekko model to initial state
I am working on a simulation tool for a certain heat exchange system. I first design the system using a certain routine, and then assess it's off-design performance. For the off-design performance I ...
-1
votes
0
answers
56
views
Image loading block my redirection in React+InertiaJs+Laravel [closed]
Issue: When I navigate to another page, the redirection is delayed until all image requests on the current page are fully resolved.
Issue Description:
The current page contains multiple images that ...
-3
votes
0
answers
33
views
How to Optimize Performance in a React Blogging App Like ThinkShare [closed]
I built ThinkShare, a React blogging app using React Router, Redux Toolkit, and Appwrite for authentication and posts. Navigation and post loading are slow, especially on mobile. What are best ...
0
votes
1
answer
38
views
Wordpress hook that runs in the last and can help to find and control all registered and enqueued scripts
I need to find and dequeue script and style files from frontend of Wordpress single post, I need a robust and full proof hook which can find out all scripts which are loading on front end of the page, ...
-3
votes
1
answer
81
views
How does Google Fonts browser optimize their font preview experience? [closed]
Analysis of Google Fonts
Here is me scrolling through the Greek fonts
As you scroll, you'll see it progressively calls the css2 url like:
https://fonts.googleapis.com/css2?family=STIX%20Two%20Text%...
5
votes
1
answer
125
views
Is it possible to have GCC inline vectorized trig functions?
Cosine and sine are computed with Horner's method and a Chebyshev polynomial, e.g. a0 + x(a1 + x(a2 + ...))). The fused-multiply add instructions this generates form a dependency chain, meaning we can ...
0
votes
1
answer
27
views
Get Dual Bound of a QP with CPlex
When one wants to solve a convex Quadratic Problem in Cplex with a given time limit, how is it possible to get lower and upper bounds on the actual optimal value ?
The primal and dual objective value ...
2
votes
1
answer
74
views
implicit function fit, linear regression with x and y std
In order to solve a weigthed linear regression (with x and y weights), I converted the explicit to implicit expression.
We are given (xmean,xstd) , (ymean,ystd) each 1d of length n.
The error is given ...
-1
votes
2
answers
72
views
Optimizing ps1 Script that deletes files/folders [closed]
I have here code that recusively deletes all files/folder older than 7 days within a directory. The directory is fairly large last time I ran it took about 12 hours to finish. I know that getting ...
0
votes
0
answers
60
views
How to minimize passenger ride time in OR-Tools Vehicle Routing Problem for school bus?
I'm working on a Vehicle Routing Problem using Google OR-Tools where I want to minimize ride time for passengers as part of the optimization objective.
Context
AM routes: Pick up kids from houses → ...
1
vote
1
answer
99
views
How can I optimize my C# code for capturing a window to use as a texture in Godot?
Cobbling together code from various sources online I was able to create the following function that allows me to capture an image of a window on my desktop (Using Windows 11). I'm attempting to use ...
-2
votes
2
answers
133
views
Split N people in X constrained groups with Google Sheets
[EDIT]
Hi everyone,
I am looking for clues to work out a sorting formula with Sheets.
We are planning "teambuilding" school trips at our international college. I need to split a list of 200+ ...
-3
votes
0
answers
40
views
Does modern JavaScript/TypeScript have ways to conditionally "swap" code when being bundled if features are avaiable? [duplicate]
Do JavaScript bundlers (or TypeScript) have some kind of feature that allows to bundle the code and "swap" some lines if specific features are available, like #ifdef macros in C or C#?
I ...
0
votes
2
answers
137
views
How do gcc optimisations work under the hood?
This problem arose while I was writing a program to retrieve file sizes. I wanted to learn more about file management and other file related things, so I wrote a c++ program using the fstream and ...